2012-02-14 09:07:22 -05:00
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2011-05-26 12:18:58 -04:00
|
|
|
<div id="query" class="clearfix">
|
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<div id="form">
|
|
|
|
|
|
|
|
<form action="#" method="get">
|
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="qt">
|
|
|
|
<a rel="help">Request-Handler (qt)</a>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="qt" value="/select" title="Request handler in solrconfig.xml.">
|
|
|
|
|
|
|
|
<fieldset class="common">
|
2012-03-07 11:30:20 -05:00
|
|
|
<legend>common</legend>
|
|
|
|
<div class="fieldset">
|
|
|
|
|
|
|
|
<label for="q">
|
|
|
|
q
|
|
|
|
</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<textarea name="q" id="q" title="The query string.">*:*</textarea>
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="fq">
|
|
|
|
<a rel="help">fq</a>
|
|
|
|
</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" id="fq" name="fq" class="multiple" title="Filter query.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="sort">
|
|
|
|
<a rel="help">sort</a>
|
|
|
|
</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" id="sort" name="sort" class="multiple" title="Sort field or function with asc|desc.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="start">
|
|
|
|
<a rel="help">start</a>,
|
|
|
|
<a rel="help">rows</a>
|
|
|
|
</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="start" id="start" placeholder="0" pattern="[0-9]+" title="Number of leading documents to skip. (Integer)">
|
|
|
|
<input type="text" name="rows" id="rows" placeholder="10" pattern="[0-9]+" title="Number of documents to return after 'start'. (Integer)">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="fl">
|
|
|
|
<a rel="help">fl</a>
|
|
|
|
</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="fl" id="fl" value="" title="Field list, comma separated.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-09-20 21:44:20 -04:00
|
|
|
<label for="df">
|
|
|
|
<a rel="help">df</a>
|
|
|
|
</label>
|
|
|
|
<input type="text" name="df" id="df" value="" title="Default search field">
|
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="wt">
|
|
|
|
<a rel="help">wt</a>
|
|
|
|
</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<select name="wt" id="wt" title="The writer type (response format).">
|
2012-03-07 11:30:20 -05:00
|
|
|
<option>xml</option>
|
|
|
|
<option>json</option>
|
|
|
|
<option>python</option>
|
|
|
|
<option>ruby</option>
|
|
|
|
<option>php</option>
|
|
|
|
<option>csv</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<label for="indent" class="checkbox">
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="checkbox" name="indent" id="indent" value="true" title="Indent results.">
|
2012-03-07 11:30:20 -05:00
|
|
|
<a rel="help">indent</a>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="debugQuery" class="checkbox">
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="checkbox" name="debugQuery" id="debugQuery" value="true" title="Show timing and diagnostics.">
|
2012-03-07 11:30:20 -05:00
|
|
|
<a rel="help">debugQuery</a>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<fieldset class="dismax optional">
|
2012-03-07 11:30:20 -05:00
|
|
|
<legend>
|
|
|
|
<label for="dismax" class="checkbox">
|
2012-09-14 03:18:53 -04:00
|
|
|
<input type="checkbox" name="defType" id="dismax" value="dismax">
|
2012-03-07 11:30:20 -05:00
|
|
|
dismax
|
|
|
|
</label>
|
|
|
|
</legend>
|
|
|
|
<div class="fieldset">
|
|
|
|
|
|
|
|
<label for="q_alt">q.alt</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="q.alt" id="q_alt" title="Alternate query when 'q' is absent.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="qf">qf</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="qf" id="qf" title="Query fields with optional boosts.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="mm">mm</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="mm" id="mm" title="Min-should-match expression.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="pf">pf</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="pf" id="pf" title="Phrase boosted fields.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="ps">ps</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="ps" id="ps" title="Phrase boost slop.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="qs">qs</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="qs" id="qs" title="Query string phrase slop.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="tie">tie</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="tie" id="tie" title="Score tie-breaker. Try 0.1.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="bq">bq</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="bq" id="bq" title="Boost query.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="bf">bf</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="bf" id="bf" title="Boost function (added).">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
</div>
|
2012-03-07 11:30:20 -05:00
|
|
|
</fieldset>
|
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<fieldset class="edismax optional">
|
2012-03-07 11:30:20 -05:00
|
|
|
<legend>
|
|
|
|
<label for="edismax" class="checkbox">
|
2012-09-14 03:18:53 -04:00
|
|
|
<input type="checkbox" name="defType" id="edismax" value="edismax">
|
2012-03-07 11:30:20 -05:00
|
|
|
<strong>e</strong>dismax
|
|
|
|
</label>
|
|
|
|
</legend>
|
|
|
|
<div class="fieldset">
|
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_q_alt">q.alt</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="q.alt" id="edismax_q_alt" title="Alternate query when 'q' is absent.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_qf">qf</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="qf" id="edismax_qf" title="Query fields with optional boosts.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_mm">mm</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="mm" id="edismax_mm" title="Min-should-match expression.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_pf">pf</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="pf" id="edismax_pf" title="Phrase boosted fields.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_ps">ps</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="ps" id="edismax_ps" title="Phrase boost slop.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_qs">qs</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="qs" id="edismax_qs" title="Query string phrase slop.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_tie">tie</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="tie" id="edismax_tie" title="Score tie-breaker. Try 0.1.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_bq">bq</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="bq" id="edismax_bq" title="Boost query.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<label for="edismax_bf">bf</label>
|
2012-09-20 21:44:20 -04:00
|
|
|
<input type="text" name="bf" id="edismax_bf" title="Boost function (added).">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
</div>
|
2012-03-07 11:30:20 -05:00
|
|
|
</fieldset>
|
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<fieldset class="hl optional">
|
2012-03-07 11:30:20 -05:00
|
|
|
<legend>
|
|
|
|
<label for="hl" class="checkbox">
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="checkbox" name="hl" id="hl" value="true" title="Enable highlighting.">
|
2012-03-07 11:30:20 -05:00
|
|
|
hl
|
|
|
|
</label>
|
|
|
|
</legend>
|
|
|
|
<div class="fieldset">
|
|
|
|
|
|
|
|
<label for="hl_fl">hl.fl</label>
|
2012-04-21 11:00:58 -04:00
|
|
|
<input type="text" name="hl.fl" id="hl_fl" value="" title="Fields to highlight on.">
|
2012-03-07 11:30:20 -05:00
|
|
|
|
|
|
|
<label for="hl_simple_pre">hl.simple.pre</label>
|
|
|
|
<input type="text" name="hl.simple.pre" id="hl_simple_pre" value="<em>">
|
|
|
|
|
|
|
|
<label for="hl_simple_post">hl.simple.post</label>
|
|
|
|
<input type="text" name="hl.simple.post" id="hl_simple_post" value="</em>">
|
|
|
|
|
|
|
|
<label for="hl_requireFieldMatch" class="checkbox">
|
|
|
|
<input type="checkbox" name="hl.requireFieldMatch" id="hl_requireFieldMatch" value="true">
|
|
|
|
hl.requireFieldMatch
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="hl_usePhraseHighlighter" class="checkbox">
|
|
|
|
<input type="checkbox" name="hl.usePhraseHighlighter" id="hl_usePhraseHighlighter" value="true">
|
|
|
|
hl.usePhraseHighlighter
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="hl_highlightMultiTerm" class="checkbox">
|
|
|
|
<input type="checkbox" name="hl.highlightMultiTerm" id="hl_highlightMultiTerm" value="true">
|
|
|
|
hl.highlightMultiTerm
|
|
|
|
</label>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<fieldset class="facet optional">
|
2012-03-07 11:30:20 -05:00
|
|
|
<legend>
|
|
|
|
<label for="facet" class="checkbox">
|
|
|
|
<input type="checkbox" name="facet" id="facet" value="true">
|
|
|
|
facet
|
|
|
|
</label>
|
|
|
|
</legend>
|
|
|
|
<div class="fieldset">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="facet_query">facet.query</label>
|
|
|
|
<textarea name="facet.query" id="facet_query"></textarea>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="facet_field">facet.field</label>
|
|
|
|
<input type="text" name="facet.field" id="facet_field">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="facet_prefix">facet.prefix</label>
|
|
|
|
<input type="text" name="facet.prefix" id="facet_prefix">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<fieldset class="spatial optional">
|
2012-03-07 11:30:20 -05:00
|
|
|
<legend>
|
|
|
|
<label for="spatial" class="checkbox">
|
|
|
|
<input type="checkbox" name="spatial" id="spatial" value="true">
|
|
|
|
spatial
|
|
|
|
</label>
|
|
|
|
</legend>
|
|
|
|
<div class="fieldset">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="pt">pt</label>
|
|
|
|
<input type="text" name="pt" id="pt">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="sfield">sfield</label>
|
|
|
|
<input type="text" name="sfield" id="sfield">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="d">d</label>
|
|
|
|
<input type="text" name="d" id="d">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-04-21 11:00:58 -04:00
|
|
|
<fieldset class="spellcheck optional">
|
2012-03-07 11:30:20 -05:00
|
|
|
<legend>
|
|
|
|
<label for="spellcheck" class="checkbox">
|
|
|
|
<input type="checkbox" name="spellcheck" id="spellcheck" value="true">
|
|
|
|
spellcheck
|
|
|
|
</label>
|
|
|
|
</legend>
|
|
|
|
<div class="fieldset">
|
|
|
|
|
|
|
|
<label for="spellcheck_build" class="checkbox">
|
|
|
|
<input type="checkbox" name="spellcheck.build" id="spellcheck_build" value="true">
|
|
|
|
spellcheck.build
|
|
|
|
</label>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_reload" class="checkbox">
|
|
|
|
<input type="checkbox" name="spellcheck.reload" id="spellcheck_reload" value="true">
|
|
|
|
spellcheck.reload
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label for="spellcheck_q">spellcheck.q</label>
|
|
|
|
<input type="text" name="spellcheck.q" id="spellcheck_q">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_dictionary">spellcheck.dictionary</label>
|
|
|
|
<input type="text" name="spellcheck.dictionary" id="spellcheck_dictionary">
|
|
|
|
|
|
|
|
<label for="spellcheck_count">spellcheck.count</label>
|
|
|
|
<input type="text" name="spellcheck.count" id="spellcheck_count">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_onlyMorePopular" class="checkbox">
|
|
|
|
<input type="checkbox" name="spellcheck.onlyMorePopular" id="spellcheck_onlyMorePopular" value="true">
|
|
|
|
spellcheck.onlyMorePopular
|
|
|
|
</label>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_extendedResults" class="checkbox">
|
|
|
|
<input type="checkbox" name="spellcheck.extendedResults" id="spellcheck_extendedResults" value="true">
|
|
|
|
spellcheck.extendedResults
|
|
|
|
</label>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_collate" class="checkbox">
|
|
|
|
<input type="checkbox" name="spellcheck.collate" id="spellcheck_collate" value="true">
|
|
|
|
spellcheck.collate
|
|
|
|
</label>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_maxCollations">spellcheck.maxCollations</label>
|
|
|
|
<input type="text" name="spellcheck.maxCollations" id="spellcheck_maxCollations">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_maxCollationTries">spellcheck.maxCollationTries</label>
|
|
|
|
<input type="text" name="spellcheck.maxCollationTries" id="spellcheck_maxCollationTries">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<label for="spellcheck_accuracy">spellcheck.accuracy</label>
|
|
|
|
<input type="text" name="spellcheck.accuracy" id="spellcheck_accuracy">
|
|
|
|
|
|
|
|
</fieldset>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<button type="submit">Execute Query</button>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
</form>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
</div>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<div id="result">
|
2011-05-26 12:18:58 -04:00
|
|
|
|
2012-03-07 11:30:20 -05:00
|
|
|
<a id="url" href="#"></a>
|
|
|
|
|
|
|
|
<div id="response">
|
|
|
|
|
|
|
|
<iframe src="about:blank"></iframe>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
2011-05-26 12:18:58 -04:00
|
|
|
|
|
|
|
</div>
|