sample solr config, add action to search form
[prawokultury.git] / doc / solr-conf / velocity / footer.vm
diff --git a/doc/solr-conf/velocity/footer.vm b/doc/solr-conf/velocity/footer.vm
new file mode 100644 (file)
index 0000000..b55e8a5
--- /dev/null
@@ -0,0 +1,17 @@
+<hr/>
+<div>
+  <span>Options:</span>
+  #if($request.params.get('debugQuery'))
+  <a href="#url_for_home?#q#if($list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end">disable debug</a>
+  #else
+  <a href="#url_for_lens&debugQuery=true&fl=*,score">enable debug</a>
+  #end
+  #if($annotate)
+  <a href="#url_for_home?#q#if($list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end#boostPrice">disable annotation</a>
+  #else
+  <a href="#url_for_lens&annotateBrowse=true">enable annotation</a>
+  #end
+  <a #annTitle("Click to switch to an XML response: &wt=xml") href="#url_for_lens&wt=xml#if($request.params.get('debugQuery'))&debugQuery=true#end">XML</a></div>
+<div>Generated by <a href="http://wiki.apache.org/solr/VelocityResponseWriter">VelocityResponseWriter</a></div>
+<div><span>Documentation: </span> <a href="http://lucene.apache.org/solr">Solr Home Page</a>, <a href="http://wiki.apache.org/solr">Solr Wiki</a></div>
+<div>Disclaimer: The locations displayed in this demonstration are purely fictional.  It is more than likely that no store with the items listed actually exists at that location!</div>        
\ No newline at end of file