mirror of https://github.com/apache/lucene.git
improve explanation of implicit response writers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@888158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e797cf3c95
commit
066c566636
|
@ -987,12 +987,14 @@
|
|||
-->
|
||||
|
||||
|
||||
<!-- queryResponseWriter plugins... query responses will be written using the
|
||||
writer specified by the 'wt' request parameter matching the name of a registered
|
||||
writer.
|
||||
The "default" writer is the default and will be used if 'wt' is not specified
|
||||
in the request. XMLResponseWriter will be used if nothing is specified here.
|
||||
The json, python, and ruby writers are also available by default.
|
||||
<!-- queryResponseWriter plugins... query responses will be written using
|
||||
the writer specified by the 'wt' request parameter matching the name
|
||||
of a registered writer.
|
||||
The "default" writer is the default and will be used if 'wt' is not
|
||||
specified in the request.
|
||||
|
||||
The following response writers are implicitly configured unless
|
||||
overridden...
|
||||
|
||||
<queryResponseWriter name="xml" class="org.apache.solr.request.XMLResponseWriter" default="true"/>
|
||||
<queryResponseWriter name="json" class="org.apache.solr.request.JSONResponseWriter"/>
|
||||
|
@ -1001,6 +1003,8 @@
|
|||
<queryResponseWriter name="php" class="org.apache.solr.request.PHPResponseWriter"/>
|
||||
<queryResponseWriter name="phps" class="org.apache.solr.request.PHPSerializedResponseWriter"/>
|
||||
|
||||
Custom response writers can be declared as needed...
|
||||
|
||||
<queryResponseWriter name="custom" class="com.example.MyResponseWriter"/>
|
||||
-->
|
||||
|
||||
|
|
Loading…
Reference in New Issue