Lucene++ - a full-featured, c++ search engine
API Documentation
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
include
SpanNotQuery.h
Go to the documentation of this file.
1
2
// Copyright (c) 2009-2014 Alan Wright. All rights reserved.
3
// Distributable under the terms of either the Apache License (Version 2.0)
4
// or the GNU Lesser General Public License.
6
7
#ifndef SPANNOTQUERY_H
8
#define SPANNOTQUERY_H
9
10
#include "
SpanQuery.h
"
11
12
namespace
Lucene {
13
15
class
LPPAPI
SpanNotQuery
:
public
SpanQuery
{
16
public
:
18
SpanNotQuery
(
const
SpanQueryPtr
& include,
const
SpanQueryPtr
& exclude);
19
virtual
~
SpanNotQuery
();
20
21
LUCENE_CLASS
(
SpanNotQuery
);
22
23
protected
:
24
SpanQueryPtr
include;
25
SpanQueryPtr
exclude
;
26
27
public
:
28
using
SpanQuery::toString
;
29
31
SpanQueryPtr
getInclude();
32
34
SpanQueryPtr
getExclude();
35
36
virtual
String getField();
37
virtual
void
extractTerms(SetTerm terms);
38
virtual
String toString(
const
String& field);
39
virtual
LuceneObjectPtr
clone(
const
LuceneObjectPtr
& other =
LuceneObjectPtr
());
40
virtual
SpansPtr
getSpans(
const
IndexReaderPtr
& reader);
41
virtual
QueryPtr
rewrite(
const
IndexReaderPtr
& reader);
42
43
virtual
bool
equals(
const
LuceneObjectPtr
& other);
44
virtual
int32_t hashCode();
45
};
46
47
}
48
49
#endif
clucene.sourceforge.net