Apache Lucene open-source search software
Add link to XML format to footer, why not, even taking debug mode into account
Erik Hatcher3bc809304de1
diff --git a/solr/example/solr/conf/velocity/footer.vm b/solr/example/solr/conf/velocity/footer.vmindex 5dd0416ad10..7597dba4830 100644--- a/solr/example/solr/conf/velocity/footer.vm+++ b/solr/example/solr/conf/velocity/footer.vm@@ -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>\ No newline at end of file