QueryResponseWriter are used to format responses to query requests. Different QueryResponseWriters are registered with the SolrCore. One way to register a QueryResponseWriter with the core is through the solrconfig.xml file. Example solrconfig.xml entry to register a QueryResponseWriter implementation to handle all queries with a writer type of "simple":
<queryResponseWriter name="simple" class="foo.SimpleResponseWriter" />
A single instance of any registered QueryResponseWriter is created via the default constructor and is reused for all relevant queries. @version $Id: QueryResponseWriter.java 1075192 2011-02-28 00:50:09Z uschindler $
| |
| |
| |