Implementations of SolrRequestHandler are called to handle query requests.
Different SolrRequestHandler s are registered with the SolrCore .
One way to register a SolrRequestHandler with the core is thorugh the solrconfig.xml file.
Example solrconfig.xml entry to register a SolrRequestHandler implementation to
handle all queries with a query type of "test":
<requestHandler name="test" class="solr.tst.TestRequestHandler" />
A single instance of any registered SolrRequestHandler is created
via the default constructor and is reused for all relevant queries.
author: yonik version: $Id: SolrRequestHandler.java 472574 2006-11-08 18:25:52Z yonik $ |