mirror of https://github.com/apache/lucene.git
SOLR-2178: some more additions to demonstrate things like function queries in an easy way
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1025570 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
201c6447ea
commit
8fe2254ed7
|
@ -5,8 +5,9 @@
|
|||
<div class="query-box">
|
||||
<form id="query-form" action="#{url_for_home}" method="GET">
|
||||
<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>
|
||||
|
||||
Find: <input type="text" id="q" name="q" value="$!esc.html($params.get('q'))"/>
|
||||
|
||||
<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>
|
||||
#if($request.params.get('debugQuery'))
|
||||
<input type="hidden" name="debugQuery" value="true"/>
|
||||
#end
|
||||
|
|
|
@ -90,7 +90,7 @@ a {
|
|||
letter-spacing: 0.08em;
|
||||
}
|
||||
|
||||
.query-box input {
|
||||
.query-box #q {
|
||||
margin-left: 8px;
|
||||
width: 60%;
|
||||
height: 50px;
|
||||
|
@ -104,6 +104,20 @@ a {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
.query-boost {
|
||||
width: 20%;
|
||||
top: 10px;
|
||||
left: 50px;
|
||||
position: relative;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.query-box .inputs{
|
||||
left: 180px;
|
||||
top: -20px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#logo {
|
||||
top: 35px;
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in New Issue