Move to solr 4 plus corrections to SparqlQueryExecutorTest with newlines and white space characters
This commit is contained in:
parent
b642f30391
commit
120be1e6b8
122 changed files with 17422 additions and 5288 deletions
43
solr/homeDirectoryTemplate/conf/velocity/query_group.vm
Normal file
43
solr/homeDirectoryTemplate/conf/velocity/query_group.vm
Normal file
|
@ -0,0 +1,43 @@
|
|||
#**
|
||||
* Query settings for grouping by fields,
|
||||
* e.g.: Manufacturer or Popularity
|
||||
*#
|
||||
|
||||
#set($queryOpts = $params.get("queryOpts"))
|
||||
|
||||
#if($queryOpts == "group")
|
||||
<div>
|
||||
#set($groupF = $request.params.get('group.field'))
|
||||
|
||||
<label #annTitle("Add the &group.field parameter. Multiselect is supported")>
|
||||
Group By:
|
||||
<select id="group" name="group.field" multiple="true">
|
||||
## TODO: Handle multiple selects correctly
|
||||
## TODO: fix empty / "No Group" selection
|
||||
|
||||
<option value=""
|
||||
#if($groupF == '')selected="true"#end
|
||||
>
|
||||
No Group
|
||||
</option>
|
||||
|
||||
<option value="manu_exact"
|
||||
#if($groupF == 'manu_exact')selected="true"#end
|
||||
>
|
||||
Manufacturer
|
||||
</option>
|
||||
|
||||
<option value="popularity"
|
||||
#if($groupF == 'popularity')selected="true"#end
|
||||
>
|
||||
Popularity
|
||||
</option>
|
||||
|
||||
</select>
|
||||
</label>
|
||||
|
||||
<input type="hidden" name="group" value="true"/>
|
||||
|
||||
</div>
|
||||
|
||||
#end
|
Loading…
Add table
Add a link
Reference in a new issue