SOLR-3259: add a /query handler that defaults to indented JSON

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307017 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2012-03-29 17:49:59 +00:00
parent 1688a44eb0
commit 1a96461df8
1 changed files with 9 additions and 0 deletions

View File

@ -789,6 +789,15 @@
-->
</requestHandler>
<!-- A request handler that returns indented JSON by default -->
<requestHandler name="/query" class="solr.SearchHandler">
<lst name="defaults">
<str name="echoParams">explicit</str>
<str name="wt">json</str>
<str name="indent">true</str>
</lst>
</requestHandler>
<!-- realtime get handler, guaranteed to return the latest stored fields of
any document, without the need to commit or open a new searcher. The