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. @version $Id: SolrRequestHandler.java 898152 2010-01-12 02:19:56Z ryan $
|
|