aboutsummaryrefslogtreecommitdiffstats
path: root/isuifang_solr/solr/conf/velocity/footer.vm
diff options
context:
space:
mode:
Diffstat (limited to 'isuifang_solr/solr/conf/velocity/footer.vm')
-rw-r--r--isuifang_solr/solr/conf/velocity/footer.vm17
1 files changed, 17 insertions, 0 deletions
diff --git a/isuifang_solr/solr/conf/velocity/footer.vm b/isuifang_solr/solr/conf/velocity/footer.vm
new file mode 100644
index 0000000..b55e8a5
--- /dev/null
+++ b/isuifang_solr/solr/conf/velocity/footer.vm
@@ -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