1 2 package org.alfresco.repo.search.impl.lucene; 3 4 public interface QueryParserConstants { 5 6 int EOF = 0; 7 int _NUM_CHAR = 1; 8 int _ESCAPED_CHAR = 2; 9 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 CARAT = 15; 21 int QUOTED = 16; 22 int TERM = 17; 23 int FUZZY_SLOP = 18; 24 int PREFIXTERM = 19; 25 int WILDTERM = 20; 26 int RANGEIN_START = 21; 27 int RANGEEX_START = 22; 28 int NUMBER = 23; 29 int RANGEIN_TO = 24; 30 int RANGEIN_END = 25; 31 int RANGEIN_QUOTED = 26; 32 int RANGEIN_GOOP = 27; 33 int RANGEEX_TO = 28; 34 int RANGEEX_END = 29; 35 int RANGEEX_QUOTED = 30; 36 int RANGEEX_GOOP = 31; 37 38 int Boost = 0; 39 int RangeEx = 1; 40 int RangeIn = 2; 41 int DEFAULT = 3; 42 43 String [] tokenImage = { 44 "<EOF>", 45 "<_NUM_CHAR>", 46 "<_ESCAPED_CHAR>", 47 "<_TERM_START_CHAR>", 48 "<_TERM_CHAR>", 49 "<_WHITESPACE>", 50 "<token of kind 6>", 51 "<AND>", 52 "<OR>", 53 "<NOT>", 54 "\"+\"", 55 "\"-\"", 56 "\"(\"", 57 "\")\"", 58 "\":\"", 59 "\"^\"", 60 "<QUOTED>", 61 "<TERM>", 62 "<FUZZY_SLOP>", 63 "<PREFIXTERM>", 64 "<WILDTERM>", 65 "\"[\"", 66 "\"{\"", 67 "<NUMBER>", 68 "\"TO\"", 69 "\"]\"", 70 "<RANGEIN_QUOTED>", 71 "<RANGEIN_GOOP>", 72 "\"TO\"", 73 "\"}\"", 74 "<RANGEEX_QUOTED>", 75 "<RANGEEX_GOOP>", 76 }; 77 78 } 79 | Popular Tags |