mirror of https://github.com/apache/lucene.git
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
|
<div id="query-box">
|
||
|
<form id="query-form" action="#{url_for_home}" method="GET">
|
||
|
$resource.find:
|
||
|
<input type="text" id="q" name="q" style="width: 50%" value="$!esc.html($request.params.get('q'))"/>
|
||
|
<input type="submit"/>
|
||
|
<div id="debug_query" class="debug">
|
||
|
<span id="parsed_query">$esc.html($response.response.debug.parsedquery)</span>
|
||
|
</div>
|
||
|
|
||
|
<input type="hidden" name="type" value="#current_type"/>
|
||
|
#foreach($fq in $response.responseHeader.params.getAll("fq"))
|
||
|
<input type="hidden" name="fq" id="allFQs" value="$esc.html($fq)"/>
|
||
|
#end
|
||
|
</form>
|
||
|
|
||
|
<div id="constraints">
|
||
|
#foreach($fq in $response.responseHeader.params.getAll("fq"))
|
||
|
#set($previous_fq_count=$velocityCount - 1)
|
||
|
#if($fq != '')
|
||
|
> $fq<a href="#url_for_filters($response.responseHeader.params.fq.subList(0,$previous_fq_count))">x</a>
|
||
|
#end
|
||
|
#end
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div id="browse_results">
|
||
|
<div id="facets">
|
||
|
#parse("facets.vm")
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div id="results_list">
|
||
|
<div class="pagination">
|
||
|
<span class="results-found">$page.results_found</span> results found in ${response.responseHeader.QTime}ms
|
||
|
$resource.page_of.insert($page.current_page_number,$page.page_count)
|
||
|
</div>
|
||
|
|
||
|
#parse("results_list.vm")
|
||
|
|
||
|
<div class="pagination">
|
||
|
#link_to_previous_page
|
||
|
<span class="results-found">$page.results_found</span> results found.
|
||
|
$resource.page_of.insert($page.current_page_number,$page.page_count)
|
||
|
#link_to_next_page
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|