Add link to XML format to footer, why not, even taking debug mode into account

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2010-06-18 01:11:05 +00:00
parent b6015f4ba4
commit 3bc809304d
1 changed files with 3 additions and 0 deletions

View File

@ -1,7 +1,10 @@
<hr/>
Generated by <a href="http://wiki.apache.org/solr/VelocityResponseWriter">VelocityResponseWriter</a>
#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">enable debug</a>
#end
<a href="#url_for_lens&wt=xml#if($request.params.get('debugQuery'))&debugQuery=true#end">XML</a>