~slub.team/goobi-indexserver/3.x

« back to all changes in this revision

Viewing changes to lucene/src/java/org/apache/lucene/queryParser/QueryParserConstants.java

  • Committer: Sebastian Meyer
  • Date: 2012-08-03 09:12:40 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20120803091240-x6861b0vabq1xror
Remove Lucene and Solr source code and add patches instead
Fix Bug #985487: Auto-suggestion for the search interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Generated By:JavaCC: Do not edit this line. QueryParserConstants.java */
2
 
package org.apache.lucene.queryParser;
3
 
 
4
 
 
5
 
/**
6
 
 * Token literal values and constants.
7
 
 * Generated by org.javacc.parser.OtherFilesGen#start()
8
 
 */
9
 
public interface QueryParserConstants {
10
 
 
11
 
  /** End of File. */
12
 
  int EOF = 0;
13
 
  /** RegularExpression Id. */
14
 
  int _NUM_CHAR = 1;
15
 
  /** RegularExpression Id. */
16
 
  int _ESCAPED_CHAR = 2;
17
 
  /** RegularExpression Id. */
18
 
  int _TERM_START_CHAR = 3;
19
 
  /** RegularExpression Id. */
20
 
  int _TERM_CHAR = 4;
21
 
  /** RegularExpression Id. */
22
 
  int _WHITESPACE = 5;
23
 
  /** RegularExpression Id. */
24
 
  int _QUOTED_CHAR = 6;
25
 
  /** RegularExpression Id. */
26
 
  int AND = 8;
27
 
  /** RegularExpression Id. */
28
 
  int OR = 9;
29
 
  /** RegularExpression Id. */
30
 
  int NOT = 10;
31
 
  /** RegularExpression Id. */
32
 
  int PLUS = 11;
33
 
  /** RegularExpression Id. */
34
 
  int MINUS = 12;
35
 
  /** RegularExpression Id. */
36
 
  int LPAREN = 13;
37
 
  /** RegularExpression Id. */
38
 
  int RPAREN = 14;
39
 
  /** RegularExpression Id. */
40
 
  int COLON = 15;
41
 
  /** RegularExpression Id. */
42
 
  int STAR = 16;
43
 
  /** RegularExpression Id. */
44
 
  int CARAT = 17;
45
 
  /** RegularExpression Id. */
46
 
  int QUOTED = 18;
47
 
  /** RegularExpression Id. */
48
 
  int TERM = 19;
49
 
  /** RegularExpression Id. */
50
 
  int FUZZY_SLOP = 20;
51
 
  /** RegularExpression Id. */
52
 
  int PREFIXTERM = 21;
53
 
  /** RegularExpression Id. */
54
 
  int WILDTERM = 22;
55
 
  /** RegularExpression Id. */
56
 
  int RANGEIN_START = 23;
57
 
  /** RegularExpression Id. */
58
 
  int RANGEEX_START = 24;
59
 
  /** RegularExpression Id. */
60
 
  int NUMBER = 25;
61
 
  /** RegularExpression Id. */
62
 
  int RANGEIN_TO = 26;
63
 
  /** RegularExpression Id. */
64
 
  int RANGEIN_END = 27;
65
 
  /** RegularExpression Id. */
66
 
  int RANGEIN_QUOTED = 28;
67
 
  /** RegularExpression Id. */
68
 
  int RANGEIN_GOOP = 29;
69
 
  /** RegularExpression Id. */
70
 
  int RANGEEX_TO = 30;
71
 
  /** RegularExpression Id. */
72
 
  int RANGEEX_END = 31;
73
 
  /** RegularExpression Id. */
74
 
  int RANGEEX_QUOTED = 32;
75
 
  /** RegularExpression Id. */
76
 
  int RANGEEX_GOOP = 33;
77
 
 
78
 
  /** Lexical state. */
79
 
  int Boost = 0;
80
 
  /** Lexical state. */
81
 
  int RangeEx = 1;
82
 
  /** Lexical state. */
83
 
  int RangeIn = 2;
84
 
  /** Lexical state. */
85
 
  int DEFAULT = 3;
86
 
 
87
 
  /** Literal token values. */
88
 
  String[] tokenImage = {
89
 
    "<EOF>",
90
 
    "<_NUM_CHAR>",
91
 
    "<_ESCAPED_CHAR>",
92
 
    "<_TERM_START_CHAR>",
93
 
    "<_TERM_CHAR>",
94
 
    "<_WHITESPACE>",
95
 
    "<_QUOTED_CHAR>",
96
 
    "<token of kind 7>",
97
 
    "<AND>",
98
 
    "<OR>",
99
 
    "<NOT>",
100
 
    "\"+\"",
101
 
    "\"-\"",
102
 
    "\"(\"",
103
 
    "\")\"",
104
 
    "\":\"",
105
 
    "\"*\"",
106
 
    "\"^\"",
107
 
    "<QUOTED>",
108
 
    "<TERM>",
109
 
    "<FUZZY_SLOP>",
110
 
    "<PREFIXTERM>",
111
 
    "<WILDTERM>",
112
 
    "\"[\"",
113
 
    "\"{\"",
114
 
    "<NUMBER>",
115
 
    "\"TO\"",
116
 
    "\"]\"",
117
 
    "<RANGEIN_QUOTED>",
118
 
    "<RANGEIN_GOOP>",
119
 
    "\"TO\"",
120
 
    "\"}\"",
121
 
    "<RANGEEX_QUOTED>",
122
 
    "<RANGEEX_GOOP>",
123
 
  };
124
 
 
125
 
}