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 Apache Wiki <wi...@apache.org> on 2007/09/06 02:56:46 UTC
[Solr Wiki] Update of "QueryResponseWriter" by HossMan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The following page has been changed by HossMan:
http://wiki.apache.org/solr/QueryResponseWriter
------------------------------------------------------------------------------
= QueryResponseWriter =
+ A [http://lucene.apache.org/solr/api/org/apache/solr/request/QueryResponseWriter.html QueryResponseWriter] is a !SolrPlugin that defines the response format for any request.
+ [[TableOfContents()]]
- A [http://lucene.apache.org/solr/api/org/apache/solr/request/QueryResponseWriter.html QueryResponseWriter] is a !SolrPlugin that defines the response format for any request. Multiple writers (including multiple instances of the same !QueryResponseWriter class with different configurations) can be specified in the [wiki:SolrConfigXml solrconfig.xml]
+ == Configuration ==
+
+ Multiple writers (including multiple instances of the same !QueryResponseWriter class with different configurations) can be specified in the [wiki:SolrConfigXml solrconfig.xml]
{{{
<queryResponseWriter name="foo" default="true" class="my.package.CustomResponseWriter"/>
@@ -14, +18 @@
</queryResponseWriter>
}}}
- == Handler Resolution ==
+ == Response Writer Resolution ==
Clients access specific !QueryResponseWriters using the [http://wiki.apache.org/solr/CoreQueryParameters 'wt' parameter] For the above example, running on localhost:8983/solr/, you could access:
@@ -32, +36 @@
1. look for a writer configured with name="standard"
1. use an anonymous instance of [wiki:XMLResponseFormat XmlResponseWriter]
+ == List of Writers Available ==
+
+ The Javadocs contain [http://lucene.apache.org/solr/api/org/apache/solr/request/QueryResponseWriter.html a complete list of Response Writers] Many of which have their own wiki pages...
+
+ [[FullSearch(CategoryQueryResponseWriter -CategoryQueryResponseWriter)]]
+