aboutsummaryrefslogtreecommitdiffstats
path: root/isuifang_solr/solr/conf/velocity/footer.vm
diff options
context:
space:
mode:
authorAlvin Li <liweitianux@gmail.com>2013-08-13 14:42:32 +0800
committerAlvin Li <liweitianux@gmail.com>2013-08-13 14:42:32 +0800
commit755463eed74ed7de9a3c1a12495d2dad655d31d5 (patch)
treef2a77a7a95cd5135ef7b253aa765652ba8323a90 /isuifang_solr/solr/conf/velocity/footer.vm
parent9636d4a6767f49384d5c386bc3f1142c88b90613 (diff)
download97dev-755463eed74ed7de9a3c1a12495d2dad655d31d5.tar.bz2
added 'isuifang_solr'
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