lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "RequestHandlerBase" by GrantIngersoll
Date Tue, 23 Oct 2007 15:16:38 GMT
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 GrantIngersoll:

New page:
The [ RequestHandlerBase]
is an abstract implementation of the SolrRequestHandler and provides basic functionality for
those wishing to implement the SolrRequestHandler


== Initialization ==

The [
init(NamedList)] method handles the initialization of three SolrParams objects:

 1. defaults - Contains the default settings for any parameters that this RequestHandler needs
to operate.  
 1. appends - Appends the values in the config to any values passed in via the query
 1. invariants - Locks down the options available to Solr clients

== Request Processing ==
The [,%20org.apache.solr.request.SolrQueryResponse)
handleRequest(...)] method sets up the SolrParams based on the incoming request, the defaults,
appends and invariants by using the [,%20org.apache.solr.common.params.SolrParams,%20org.apache.solr.common.params.SolrParams,%20org.apache.solr.common.params.SolrParams)
setDefaults(...)] method to set the parameters.  It then calls the abstract handleRequestBody()
method to hand off control to the implementation.  Various metrics are also collected.

View raw message