1 <div class="query-box">
2 <form id="query-form" action="#{url_for_home}" method="GET">
4 <span #annTitle("Add the query using the &q= parameter")>Find: <input type="text" id="q" name="q" value="$!esc.html($params.get('q'))"/> <input type="submit" id="querySubmit"/> <input type="reset"/></span>
5 <div class="query-boost"><span #annTitle("Add the boost function &bf=price to the query")><input type="checkbox" name="bf" value="price" #if($request.params.get('bf') == 'price')checked="true"#end>Boost by Price</input></span>
6 #parse("querySpatial.vm")
7 #parse("queryGroup.vm")
11 #if($request.params.get('debugQuery'))
12 <input type="hidden" name="debugQuery" value="true"/>
14 #if($annotate == true)
15 <input type="hidden" name="annotateBrowse" value="true"/>
17 #foreach($fq in $request.params.getParams('fq'))
18 #if ($fq != "{!bbox}")
19 <input type="hidden" name="fq" id="allFQs" value="$esc.html($fq)"/>
22 <div class="constraints" #annTitle("Lists out the &fq filters. Click to remove.")>
23 #foreach($fq in $params.getParams('fq'))
24 #set($previous_fq_count=$velocityCount - 1)
26 > <a style="{text-decoration: line-through;}" href="#url_for_filters($request.params.getParams('fq').subList(0,$previous_fq_count))">$fq</a>
30 <div class="parsed_query_header">
31 #if($request.params.get('debugQuery'))
32 <a href="#" onclick='jQuery(this).siblings("div").toggle(); return false;'>toggle parsed query</a>
33 <div class="parsed_query" style="display:none">$response.response.debug.parsedquery</div>
35 #set($queryOpts = $request.params.get("queryOpts"))
36 #if($queryOpts && $queryOpts != "")
37 <input type="hidden" name="queryOpts" value="$queryOpts"/>