mirror of https://github.com/apache/lucene.git
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:
parent
1688a44eb0
commit
1a96461df8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue