You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by ho...@apache.org on 2009/12/07 23:11:36 UTC
svn commit: r888158 - /lucene/solr/trunk/example/solr/conf/solrconfig.xml
Author: hossman
Date: Mon Dec 7 22:11:34 2009
New Revision: 888158
URL: http://svn.apache.org/viewvc?rev=888158&view=rev
Log:
improve explanation of implicit response writers
Modified:
lucene/solr/trunk/example/solr/conf/solrconfig.xml
Modified: lucene/solr/trunk/example/solr/conf/solrconfig.xml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/example/solr/conf/solrconfig.xml?rev=888158&r1=888157&r2=888158&view=diff
==============================================================================
--- lucene/solr/trunk/example/solr/conf/solrconfig.xml (original)
+++ lucene/solr/trunk/example/solr/conf/solrconfig.xml Mon Dec 7 22:11:34 2009
@@ -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"/>
-->