mirror of https://github.com/apache/lucene.git
SOLR-2178: make price work for paging, facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025579 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f515772f69
commit
1d3ba9d433
|
@ -9,7 +9,9 @@
|
||||||
|
|
||||||
#macro(debug)#if($request.params.get('debugQuery'))&debugQuery=true#end#end
|
#macro(debug)#if($request.params.get('debugQuery'))&debugQuery=true#end#end
|
||||||
|
|
||||||
#macro(lens)?#q#if($request.params.getParams('fq') and $list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end#debug#end
|
#macro(boostPrice)#if($request.params.get('bf') == 'price')CHECKED#end#end
|
||||||
|
|
||||||
|
#macro(lens)?#q#if($request.params.getParams('fq') and $list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end#debug#if($request.params.get('bf') == 'price')&bf=price#end#end
|
||||||
|
|
||||||
#macro(url_for_lens)#{url_for_home}#lens#end
|
#macro(url_for_lens)#{url_for_home}#lens#end
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<a href="#url_for_home#if($request.params.get('debugQuery'))?debugQuery=true#end"><img src="#{url_for_solr}/admin/solr_small.png" id="logo"/></a>
|
<a href="#url_for_home#if($request.params.get('debugQuery'))?debugQuery=true#end"><img src="#{url_for_solr}/admin/solr_small.png" id="logo"/></a>
|
||||||
|
|
||||||
<div class="inputs"><span>Find: <input type="text" id="q" name="q" value="$!esc.html($params.get('q'))"/> <input type="submit"/> <input type="reset"/></span>
|
<div class="inputs"><span>Find: <input type="text" id="q" name="q" value="$!esc.html($params.get('q'))"/> <input type="submit"/> <input type="reset"/></span>
|
||||||
<div class="query-boost"><input type="checkbox" name="bf" value="price" #if($response.responseHeader.params.bf == 'price')CHECKED#end>Boost by Price</input> </div></div>
|
<div class="query-boost"><input type="checkbox" name="bf" value="price" #boostPrice>Boost by Price</input> </div></div>
|
||||||
#if($request.params.get('debugQuery'))
|
#if($request.params.get('debugQuery'))
|
||||||
<input type="hidden" name="debugQuery" value="true"/>
|
<input type="hidden" name="debugQuery" value="true"/>
|
||||||
#end
|
#end
|
||||||
|
|
Loading…
Reference in New Issue