-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathtest_java_queryparser_examples.json
168 lines (168 loc) · 6.7 KB
/
test_java_queryparser_examples.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"9999": "_all:9999",
"\" this \"": "_all: this ",
"\"*te*t\"": "_all:*te*t",
"\"*te*t*\"": "_all:*te*t*",
"\"+() AND that\"": "_all:+() AND that",
"\"?te*t?\"": "_all:?te*t?",
"\"a \\\"b c\\\" d\"": "_all:a \"b c\" d",
"\"a \\+b c d\"": "_all:a +b c d",
"\"func(*) AND that\"": "_all:func(*) AND that",
"\"jakarta apache\"": "_all:jakarta apache",
"\"jakarta apache\"^10": "_all:jakarta apache^10.0",
"\"jakarta apache\"^10~": null,
"\"jakarta apache\"^10~0.6": null,
"\"jakarta apache\"~10": "_all:jakarta apache",
"\"jakarta apache\"~10^": null,
"\"jakarta apache\"~10^0.6": "_all:jakarta apache^0.6",
"\"te*?t\"": "_all:te*?t",
"\"te*t\"": "_all:te*t",
"\"te??t\"": "_all:te??t",
"\"te?t\"": "_all:te?t",
"\"test*\"": "_all:test*",
"\"text\"": "_all:text",
"\"this \"": "_all:this ",
"\"this \" ": "_all:this ",
"\"this\"": "_all:this",
"*": "_all:*",
"*:*": "*:*",
"*t": "_all:*t",
"*t*": "_all:*t*",
"*t*\\a": "_all:*t*a",
"*t*a": "_all:*t*a",
"*t*a*": "_all:*t*a*",
"*t*a\\*": "_all:*t*a*",
"*t*a\\?": "_all:*t*a?",
"*t?": "_all:*t?",
"*t?a": "_all:*t?a",
"*t\\*a": "_all:*t*a",
"*te*t": "_all:*te*t",
"*te*t*": "_all:*te*t*",
"+field:": null,
"+field: {this TO that}": "field:{this TO that}",
"+field:(-one +two three)": "-field:one +field:two field:three",
"+field:[ this TO that ]": "field:[this TO that]",
"+field:[this TO that]": "field:[this TO that]",
"+field:{this TO that}": "field:{this TO that}",
"+m:(a b c)": "m:a m:b m:c",
"+value": "_all:value",
"-field:(-one +two three)": "-field:one +field:two field:three",
"-m:(a b NEAR c d AND e)": "m:a m:b m:NEAR m:c +m:d +m:e",
"-value": "_all:value",
"0.9999": "_all:0.9999",
"00000000.9999": "_all:00000000.9999",
"9999.1": "_all:9999.1",
"?": "_all:?",
"?t": "_all:?t",
"?t*": "_all:?t*",
"?t?": "_all:?t?",
"?te*t?": "_all:?te*t?",
"[\"#$%^&\" TO \"&*()\"]": "_all:[#$%^& TO &*()]",
"[\"this\" TO \"that*\"]": "_all:[this TO that*]",
"[* 20030101]^0.5~": null,
"[* TO 20030101]": "_all:[* TO 20030101]",
"[* TO this]": "_all:[* TO this]",
"[* this]": "_all:[* TO this]",
"[20020101 *]^0.5~": null,
"[20020101 TO *]^0.5": "_all:[20020101 TO *]^0.5",
"[20020101 TO 20030101]": "_all:[20020101 TO 20030101]",
"[20020101 TO 20030101]^0.5": "_all:[20020101 TO 20030101]^0.5",
"[20020101 TO 20030101]^0.5~": null,
"[]": null,
"[this TO *]": "_all:[this TO *]",
"[this TO that]": "_all:[this TO that]",
"[this that]": "_all:[this TO that]",
"[this]": null,
"\\(1\\+1\\)\\:2": "_all:(1+1):2",
"\\*t": "_all:*t",
"a\\\\\\+b": "_all:a\\+b",
"a\\u0062c": "_all:abc",
"escape:(\\+\\-\\&\\&\\|\\|\\!\\(\\)\\{\\}\\[\\]\\^\"\\~\\*\\?\\:\\)": null,
"field: (one)": "field:one",
"field:( one )": "field:one",
"field:(one +two -three)": "field:one +field:two -field:three",
"field:(one two three)": "field:one field:two field:three",
"field:(one)": "field:one",
"foo:*": "foo:*",
"m:(+a b c)": "+m:a m:b m:c",
"m:(-a +b c)^0.6": "(-m:a +m:b m:c)^0.6",
"m:(a b NEAR c d AND e)": "m:a m:b m:NEAR m:c +m:d +m:e",
"m:(a b NEAR c)": "m:a m:b m:NEAR m:c",
"m:(a b c OR d NOT e)": "m:a m:b m:c m:d -m:e",
"m:(a b c OR d)": "m:a m:b m:c m:d",
"m:(a b c or d)": "m:a m:b m:c m:or m:d",
"m:(a b c)": "m:a m:b m:c",
"roam^": null,
"roam^0.8": "_all:roam^0.8",
"roam^0.899999999": "_all:roam^0.9",
"roam^0.899999999~0.5": "_all:roam~2^0.9",
"roam^0.8~": "_all:roam~2^0.8",
"roam^8": "_all:roam^8.0",
"roam^~": null,
"roam~": "_all:roam~2",
"roam~0.8": "_all:roam~0",
"roam~0.899999999": "_all:roam~0",
"roam~0.899999999^0.5": "_all:roam~0^0.5",
"roam~0.8^": null,
"roam~8": "_all:roam~2",
"roam~^": null,
"t*a": "_all:t*a",
"t*a?": "_all:t*a?",
"t*a?a": "_all:t*a?a",
"te*?t": "_all:te*?t",
"te*t": "_all:te*t",
"te??t": "_all:te??t",
"te?t": "_all:te?t",
"test*": "_all:test*",
"th\\*is": "_all:th*is",
"this": "_all:this",
"this0.9": "_all:this0.9",
"this999": "_all:this999",
"this^ 5": null,
"this^5~ 9": "_all:this~2^5.0 _all:9",
"title:(+return +\"pink panther\")": "+title:return +title:pink panther",
"title:[20020101 TO 20030101]": "title:[20020101 TO 20030101]",
"title:[20020101 TO 20030101]^0.5": "title:[20020101 TO 20030101]^0.5",
"title:[20020101 TO 20030101]^0.5~": null,
"title:{20020101 TO 20030101}": "title:{20020101 TO 20030101}",
"title:{20020101 TO 20030101}^0.5": "title:{20020101 TO 20030101}^0.5",
"title:{20020101 TO 20030101}^0.5~": null,
"title:{Aida TO Carmen}": "title:{aida TO carmen}",
"{\"#$%^&\" TO \"&*()\"}": "_all:{#$%^& TO &*()}",
"{\"this\" TO \"that*\"}": "_all:{this TO that*}",
"{* 20030101}^0.5~": null,
"{* TO 20030101}^0.5": "_all:{* TO 20030101}^0.5",
"{* TO this}": "_all:{* TO this}",
"{* this}": "_all:{* TO this}",
"{20020101 *}^0.5~": null,
"{20020101 TO *}": "_all:{20020101 TO *}",
"{20020101 TO 20030101}": "_all:{20020101 TO 20030101}",
"{20020101 TO 20030101}^0.5": "_all:{20020101 TO 20030101}^0.5",
"{20020101 TO 20030101}^0.5~": null,
"{this TO *}": "_all:{this TO *}",
"{this TO that}": "_all:{this TO that}",
"{this that}": "_all:{this TO that}",
"{}": null,
"\"jakarta apache\" AND \"Apache Lucene\"": "+_all:jakarta apache +_all:Apache Lucene",
"\"jakarta apache\" NOT \"Apache Lucene\"": "_all:jakarta apache -_all:Apache Lucene",
"\"jakarta apache\" OR jakarta": "_all:jakarta apache _all:jakarta",
"\"jakarta apache\"^4 \"Apache Lucene\"": "_all:jakarta apache^4.0 _all:Apache Lucene",
"(jakarta OR apache) AND website": "+(_all:jakarta _all:apache) +_all:website",
"(this) ((((((that))))))": "_all:this _all:that",
"(this) (that)": "_all:this _all:that",
"+jakarta lucene": "+_all:jakarta _all:lucene",
"jakarta^4 apache": "_all:jakarta^4.0 _all:apache",
"this ((((+(that)))))": "_all:this _all:that",
"this ((that))": "_all:this _all:that",
"this (+(((+(that))))": null,
"this (+(((+(that)))))": "_all:this _all:that",
"this (+(that)^7)": "_all:this _all:that^7.0",
"this (++(((+(that)))))": null,
"this (that)": "_all:this _all:that",
"this +((((+(that)))))": "_all:this +_all:that",
"this +(+((((that)))))": "_all:this +_all:that",
"this +(that thus)^7": "_all:this +((_all:that _all:thus)^7.0)",
"this +(that)": "_all:this +_all:that",
"title:\"X x\" AND text:go title:\"x y\" AND A": "+title:X x +text:go +title:x y +_all:A",
"title:X Y Z": "title:X _all:Y _all:Z"
}