Lucene++ - a full-featured, c++ search engine
API Documentation


Loading...
Searching...
No Matches
QueryParserConstants.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 QUERYPARSERCONSTANTS_H
8#define QUERYPARSERCONSTANTS_H
9
10#include "LuceneObject.h"
11
12namespace Lucene {
13
16protected:
18
19public:
22
23public:
25 _EOF = 0,
26 _NUM_CHAR = 1,
27 _ESCAPED_CHAR = 2,
28 _TERM_START_CHAR = 3,
29 _TERM_CHAR = 4,
30 _WHITESPACE = 5,
31 _QUOTED_CHAR = 6,
32 AND = 8,
33 OR = 9,
34 NOT = 10,
35 PLUS = 11,
36 MINUS = 12,
37 LPAREN = 13,
38 RPAREN = 14,
39 COLON = 15,
40 STAR = 16,
41 CARAT = 17,
42 QUOTED = 18,
43 TERM = 19,
44 FUZZY_SLOP = 20,
45 PREFIXTERM = 21,
46 WILDTERM = 22,
47 RANGEIN_START = 23,
48 RANGEEX_START = 24,
49 NUMBER = 25,
50 RANGEIN_TO = 26,
51 RANGEIN_END = 27,
52 RANGEIN_QUOTED = 28,
53 RANGEIN_GOOP = 29,
54 RANGEEX_TO = 30,
55 RANGEEX_END = 31,
56 RANGEEX_QUOTED = 32,
57 RANGEEX_GOOP = 33
58 };
59
61 Boost = 0,
62 RangeEx = 1,
63 RangeIn = 2,
64 DEFAULT = 3
65 };
66
69
70protected:
72 static const wchar_t* _tokenImage[];
73};
74
75}
76
77#endif
#define LUCENE_INTERFACE(Name)
Definition LuceneObject.h:19
Utility template class to handle collections that can be safely copied and shared.
Definition Collection.h:17
Token literal values and constants.
Definition QueryParserConstants.h:15
RegularExpressionId
Definition QueryParserConstants.h:24
LexicalState
Definition QueryParserConstants.h:60
static Collection< String > tokenImage
Literal token values.
Definition QueryParserConstants.h:68
Definition AbstractAllTermDocs.h:12

clucene.sourceforge.net