01: /* Generated By:JavaCC: Do not edit this line. QueryParserConstants.java */
02: package org.apache.lucene.queryParser;
03:
04: public interface QueryParserConstants {
05:
06: int EOF = 0;
07: int _NUM_CHAR = 1;
08: int _ESCAPED_CHAR = 2;
09: int _TERM_START_CHAR = 3;
10: int _TERM_CHAR = 4;
11: int _WHITESPACE = 5;
12: int AND = 7;
13: int OR = 8;
14: int NOT = 9;
15: int PLUS = 10;
16: int MINUS = 11;
17: int LPAREN = 12;
18: int RPAREN = 13;
19: int COLON = 14;
20: int STAR = 15;
21: int CARAT = 16;
22: int QUOTED = 17;
23: int TERM = 18;
24: int FUZZY_SLOP = 19;
25: int PREFIXTERM = 20;
26: int WILDTERM = 21;
27: int RANGEIN_START = 22;
28: int RANGEEX_START = 23;
29: int NUMBER = 24;
30: int RANGEIN_TO = 25;
31: int RANGEIN_END = 26;
32: int RANGEIN_QUOTED = 27;
33: int RANGEIN_GOOP = 28;
34: int RANGEEX_TO = 29;
35: int RANGEEX_END = 30;
36: int RANGEEX_QUOTED = 31;
37: int RANGEEX_GOOP = 32;
38:
39: int Boost = 0;
40: int RangeEx = 1;
41: int RangeIn = 2;
42: int DEFAULT = 3;
43:
44: String[] tokenImage = { "<EOF>", "<_NUM_CHAR>", "<_ESCAPED_CHAR>",
45: "<_TERM_START_CHAR>", "<_TERM_CHAR>", "<_WHITESPACE>",
46: "<token of kind 6>", "<AND>", "<OR>", "<NOT>", "\"+\"",
47: "\"-\"", "\"(\"", "\")\"", "\":\"", "\"*\"", "\"^\"",
48: "<QUOTED>", "<TERM>", "<FUZZY_SLOP>", "<PREFIXTERM>",
49: "<WILDTERM>", "\"[\"", "\"{\"", "<NUMBER>", "\"TO\"",
50: "\"]\"", "<RANGEIN_QUOTED>", "<RANGEIN_GOOP>", "\"TO\"",
51: "\"}\"", "<RANGEEX_QUOTED>", "<RANGEEX_GOOP>", };
52:
53: }
|