1 | <!-- |
---|
2 | Licensed to the Apache Software Foundation (ASF) under one or more |
---|
3 | contributor license agreements. See the NOTICE file distributed with |
---|
4 | this work for additional information regarding copyright ownership. |
---|
5 | The ASF licenses this file to You under the Apache License, Version 2.0 |
---|
6 | (the "License"); you may not use this file except in compliance with |
---|
7 | the License. You may obtain a copy of the License at |
---|
8 | |
---|
9 | http://www.apache.org/licenses/LICENSE-2.0 |
---|
10 | |
---|
11 | Unless required by applicable law or agreed to in writing, software |
---|
12 | distributed under the License is distributed on an "AS IS" BASIS, |
---|
13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
---|
14 | See the License for the specific language governing permissions and |
---|
15 | limitations under the License. |
---|
16 | --> |
---|
17 | <div id="query" class="clearfix"> |
---|
18 | |
---|
19 | <div id="form"> |
---|
20 | |
---|
21 | <form action="#" method="get"> |
---|
22 | |
---|
23 | <label for="qt"> |
---|
24 | <a rel="help">Request-Handler (qt)</a> |
---|
25 | </label> |
---|
26 | <input type="text" id="qt" value="/select" title="Request handler in solrconfig.xml."> |
---|
27 | |
---|
28 | <fieldset class="common"> |
---|
29 | <legend>common</legend> |
---|
30 | <div class="fieldset"> |
---|
31 | |
---|
32 | <label for="q"> |
---|
33 | q |
---|
34 | </label> |
---|
35 | <textarea name="q" id="q" title="The query string.">*:*</textarea> |
---|
36 | |
---|
37 | <label for="fq"> |
---|
38 | <a rel="help">fq</a> |
---|
39 | </label> |
---|
40 | <input type="text" id="fq" name="fq" class="multiple" title="Filter query."> |
---|
41 | |
---|
42 | <label for="sort"> |
---|
43 | <a rel="help">sort</a> |
---|
44 | </label> |
---|
45 | <input type="text" id="sort" name="sort" class="multiple" title="Sort field or function with asc|desc."> |
---|
46 | |
---|
47 | <label for="start"> |
---|
48 | <a rel="help">start</a>, |
---|
49 | <a rel="help">rows</a> |
---|
50 | </label> |
---|
51 | <input type="text" name="start" id="start" placeholder="0" pattern="[0-9]+" title="Number of leading documents to skip. (Integer)"> |
---|
52 | <input type="text" name="rows" id="rows" placeholder="10" pattern="[0-9]+" title="Number of documents to return after 'start'. (Integer)"> |
---|
53 | |
---|
54 | <label for="fl"> |
---|
55 | <a rel="help">fl</a> |
---|
56 | </label> |
---|
57 | <input type="text" name="fl" id="fl" value="" title="Field list, comma separated."> |
---|
58 | |
---|
59 | <label for="wt"> |
---|
60 | <a rel="help">wt</a> |
---|
61 | </label> |
---|
62 | <select name="wt" id="wt" title="The writer type (response format)."> |
---|
63 | <option>xml</option> |
---|
64 | <option>json</option> |
---|
65 | <option>python</option> |
---|
66 | <option>ruby</option> |
---|
67 | <option>php</option> |
---|
68 | <option>csv</option> |
---|
69 | </select> |
---|
70 | |
---|
71 | <label for="indent" class="checkbox"> |
---|
72 | <input type="checkbox" name="indent" id="indent" value="true" title="Indent results."> |
---|
73 | <a rel="help">indent</a> |
---|
74 | </label> |
---|
75 | |
---|
76 | <label for="debugQuery" class="checkbox"> |
---|
77 | <input type="checkbox" name="debugQuery" id="debugQuery" value="true" title="Show timing and diagnostics."> |
---|
78 | <a rel="help">debugQuery</a> |
---|
79 | </label> |
---|
80 | |
---|
81 | </div> |
---|
82 | </fieldset> |
---|
83 | |
---|
84 | <fieldset class="dismax optional"> |
---|
85 | <legend> |
---|
86 | <label for="dismax" class="checkbox"> |
---|
87 | <input type="checkbox" name="dismax" id="dismax" value="true"> |
---|
88 | dismax |
---|
89 | </label> |
---|
90 | </legend> |
---|
91 | <div class="fieldset"> |
---|
92 | |
---|
93 | <label for="q_alt">q.alt</label> |
---|
94 | <input type="text" name="q.alt" id="q_alt" title="Alternate query when 'q' is absent."> |
---|
95 | |
---|
96 | <label for="qf">qf</label> |
---|
97 | <input type="text" name="qf" id="qf" title="Query fields with optional boosts."> |
---|
98 | |
---|
99 | <label for="mm">mm</label> |
---|
100 | <input type="text" name="mm" id="mm" title="Min-should-match expression."> |
---|
101 | |
---|
102 | <label for="pf">pf</label> |
---|
103 | <input type="text" name="pf" id="pf" title="Phrase boosted fields."> |
---|
104 | |
---|
105 | <label for="ps">ps</label> |
---|
106 | <input type="text" name="ps" id="ps" title="Phrase boost slop."> |
---|
107 | |
---|
108 | <label for="qs">qs</label> |
---|
109 | <input type="text" name="qs" id="qs" title="Query string phrase slop."> |
---|
110 | |
---|
111 | <label for="tie">tie</label> |
---|
112 | <input type="text" name="tie" id="tie" title="Score tie-breaker. Try 0.1."> |
---|
113 | |
---|
114 | <label for="bq">bq</label> |
---|
115 | <input type="text" name="bq" id="bq" title="Boost query."> |
---|
116 | |
---|
117 | <label for="bf">bf</label> |
---|
118 | <input type="text" name="bf" id="bf" title="Boost function (added)."> |
---|
119 | |
---|
120 | </div> |
---|
121 | </fieldset> |
---|
122 | |
---|
123 | <fieldset class="edismax optional"> |
---|
124 | <legend> |
---|
125 | <label for="edismax" class="checkbox"> |
---|
126 | <input type="checkbox" name="edismax" id="edismax" value="true"> |
---|
127 | <strong>e</strong>dismax |
---|
128 | </label> |
---|
129 | </legend> |
---|
130 | <div class="fieldset"> |
---|
131 | |
---|
132 | <label for="edismax_q_alt">q.alt</label> |
---|
133 | <input type="text" name="q.alt" id="edismax_q_alt"> |
---|
134 | |
---|
135 | <label for="edismax_qf">qf</label> |
---|
136 | <input type="text" name="qf" id="edismax_qf"> |
---|
137 | |
---|
138 | <label for="edismax_mm">mm</label> |
---|
139 | <input type="text" name="mm" id="edismax_mm"> |
---|
140 | |
---|
141 | <label for="edismax_pf">pf</label> |
---|
142 | <input type="text" name="pf" id="edismax_pf"> |
---|
143 | |
---|
144 | <label for="edismax_ps">ps</label> |
---|
145 | <input type="text" name="ps" id="edismax_ps"> |
---|
146 | |
---|
147 | <label for="edismax_qs">qs</label> |
---|
148 | <input type="text" name="qs" id="edismax_qs"> |
---|
149 | |
---|
150 | <label for="edismax_tie">tie</label> |
---|
151 | <input type="text" name="tie" id="edismax_tie"> |
---|
152 | |
---|
153 | <label for="edismax_bq">bq</label> |
---|
154 | <input type="text" name="bq" id="edismax_bq"> |
---|
155 | |
---|
156 | <label for="edismax_bf">bf</label> |
---|
157 | <input type="text" name="bf" id="edismax_bf"> |
---|
158 | |
---|
159 | </div> |
---|
160 | </fieldset> |
---|
161 | |
---|
162 | <fieldset class="hl optional"> |
---|
163 | <legend> |
---|
164 | <label for="hl" class="checkbox"> |
---|
165 | <input type="checkbox" name="hl" id="hl" value="true" title="Enable highlighting."> |
---|
166 | hl |
---|
167 | </label> |
---|
168 | </legend> |
---|
169 | <div class="fieldset"> |
---|
170 | |
---|
171 | <label for="hl_fl">hl.fl</label> |
---|
172 | <input type="text" name="hl.fl" id="hl_fl" value="" title="Fields to highlight on."> |
---|
173 | |
---|
174 | <label for="hl_simple_pre">hl.simple.pre</label> |
---|
175 | <input type="text" name="hl.simple.pre" id="hl_simple_pre" value="<em>"> |
---|
176 | |
---|
177 | <label for="hl_simple_post">hl.simple.post</label> |
---|
178 | <input type="text" name="hl.simple.post" id="hl_simple_post" value="</em>"> |
---|
179 | |
---|
180 | <label for="hl_requireFieldMatch" class="checkbox"> |
---|
181 | <input type="checkbox" name="hl.requireFieldMatch" id="hl_requireFieldMatch" value="true"> |
---|
182 | hl.requireFieldMatch |
---|
183 | </label> |
---|
184 | |
---|
185 | <label for="hl_usePhraseHighlighter" class="checkbox"> |
---|
186 | <input type="checkbox" name="hl.usePhraseHighlighter" id="hl_usePhraseHighlighter" value="true"> |
---|
187 | hl.usePhraseHighlighter |
---|
188 | </label> |
---|
189 | |
---|
190 | <label for="hl_highlightMultiTerm" class="checkbox"> |
---|
191 | <input type="checkbox" name="hl.highlightMultiTerm" id="hl_highlightMultiTerm" value="true"> |
---|
192 | hl.highlightMultiTerm |
---|
193 | </label> |
---|
194 | |
---|
195 | </div> |
---|
196 | </fieldset> |
---|
197 | |
---|
198 | <fieldset class="facet optional"> |
---|
199 | <legend> |
---|
200 | <label for="facet" class="checkbox"> |
---|
201 | <input type="checkbox" name="facet" id="facet" value="true"> |
---|
202 | facet |
---|
203 | </label> |
---|
204 | </legend> |
---|
205 | <div class="fieldset"> |
---|
206 | |
---|
207 | <label for="facet_query">facet.query</label> |
---|
208 | <textarea name="facet.query" id="facet_query"></textarea> |
---|
209 | |
---|
210 | <label for="facet_field">facet.field</label> |
---|
211 | <input type="text" name="facet.field" id="facet_field"> |
---|
212 | |
---|
213 | <label for="facet_prefix">facet.prefix</label> |
---|
214 | <input type="text" name="facet.prefix" id="facet_prefix"> |
---|
215 | |
---|
216 | </div> |
---|
217 | </fieldset> |
---|
218 | |
---|
219 | <fieldset class="spatial optional"> |
---|
220 | <legend> |
---|
221 | <label for="spatial" class="checkbox"> |
---|
222 | <input type="checkbox" name="spatial" id="spatial" value="true"> |
---|
223 | spatial |
---|
224 | </label> |
---|
225 | </legend> |
---|
226 | <div class="fieldset"> |
---|
227 | |
---|
228 | <label for="pt">pt</label> |
---|
229 | <input type="text" name="pt" id="pt"> |
---|
230 | |
---|
231 | <label for="sfield">sfield</label> |
---|
232 | <input type="text" name="sfield" id="sfield"> |
---|
233 | |
---|
234 | <label for="d">d</label> |
---|
235 | <input type="text" name="d" id="d"> |
---|
236 | |
---|
237 | </div> |
---|
238 | </fieldset> |
---|
239 | |
---|
240 | <fieldset class="spellcheck optional"> |
---|
241 | <legend> |
---|
242 | <label for="spellcheck" class="checkbox"> |
---|
243 | <input type="checkbox" name="spellcheck" id="spellcheck" value="true"> |
---|
244 | spellcheck |
---|
245 | </label> |
---|
246 | </legend> |
---|
247 | <div class="fieldset"> |
---|
248 | |
---|
249 | <label for="spellcheck_build" class="checkbox"> |
---|
250 | <input type="checkbox" name="spellcheck.build" id="spellcheck_build" value="true"> |
---|
251 | spellcheck.build |
---|
252 | </label> |
---|
253 | |
---|
254 | <label for="spellcheck_reload" class="checkbox"> |
---|
255 | <input type="checkbox" name="spellcheck.reload" id="spellcheck_reload" value="true"> |
---|
256 | spellcheck.reload |
---|
257 | </label> |
---|
258 | |
---|
259 | <label for="spellcheck_q">spellcheck.q</label> |
---|
260 | <input type="text" name="spellcheck.q" id="spellcheck_q"> |
---|
261 | |
---|
262 | <label for="spellcheck_dictionary">spellcheck.dictionary</label> |
---|
263 | <input type="text" name="spellcheck.dictionary" id="spellcheck_dictionary"> |
---|
264 | |
---|
265 | <label for="spellcheck_count">spellcheck.count</label> |
---|
266 | <input type="text" name="spellcheck.count" id="spellcheck_count"> |
---|
267 | |
---|
268 | <label for="spellcheck_onlyMorePopular" class="checkbox"> |
---|
269 | <input type="checkbox" name="spellcheck.onlyMorePopular" id="spellcheck_onlyMorePopular" value="true"> |
---|
270 | spellcheck.onlyMorePopular |
---|
271 | </label> |
---|
272 | |
---|
273 | <label for="spellcheck_extendedResults" class="checkbox"> |
---|
274 | <input type="checkbox" name="spellcheck.extendedResults" id="spellcheck_extendedResults" value="true"> |
---|
275 | spellcheck.extendedResults |
---|
276 | </label> |
---|
277 | |
---|
278 | <label for="spellcheck_collate" class="checkbox"> |
---|
279 | <input type="checkbox" name="spellcheck.collate" id="spellcheck_collate" value="true"> |
---|
280 | spellcheck.collate |
---|
281 | </label> |
---|
282 | |
---|
283 | <label for="spellcheck_maxCollations">spellcheck.maxCollations</label> |
---|
284 | <input type="text" name="spellcheck.maxCollations" id="spellcheck_maxCollations"> |
---|
285 | |
---|
286 | <label for="spellcheck_maxCollationTries">spellcheck.maxCollationTries</label> |
---|
287 | <input type="text" name="spellcheck.maxCollationTries" id="spellcheck_maxCollationTries"> |
---|
288 | |
---|
289 | <label for="spellcheck_accuracy">spellcheck.accuracy</label> |
---|
290 | <input type="text" name="spellcheck.accuracy" id="spellcheck_accuracy"> |
---|
291 | |
---|
292 | </fieldset> |
---|
293 | |
---|
294 | |
---|
295 | <button type="submit">Execute Query</button> |
---|
296 | |
---|
297 | </form> |
---|
298 | |
---|
299 | </div> |
---|
300 | |
---|
301 | <div id="result"> |
---|
302 | |
---|
303 | <a id="url" href="#"></a> |
---|
304 | |
---|
305 | <div id="response"> |
---|
306 | |
---|
307 | <iframe src="about:blank"></iframe> |
---|
308 | |
---|
309 | </div> |
---|
310 | |
---|
311 | </div> |
---|
312 | |
---|
313 | </div> |
---|