mirror of https://github.com/apache/lucene.git
Added javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@659216 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
858b4116d7
commit
3b9df5ffc6
|
@ -36,7 +36,21 @@ import org.apache.solr.util.plugin.NamedListInitializedPlugin;
|
|||
*/
|
||||
public abstract class SearchComponent implements SolrInfoMBean, NamedListInitializedPlugin
|
||||
{
|
||||
/**
|
||||
* Prepare the response. Guaranteed to be called before any SearchComponent {@link #process(org.apache.solr.handler.component.ResponseBuilder)} method.
|
||||
* Called for every incoming request.
|
||||
*
|
||||
* The place to do initialization that is request dependent.
|
||||
* @param rb The {@link org.apache.solr.handler.component.ResponseBuilder}
|
||||
* @throws IOException
|
||||
*/
|
||||
public abstract void prepare(ResponseBuilder rb) throws IOException;
|
||||
|
||||
/**
|
||||
* Process the request for this component
|
||||
* @param rb The {@link ResponseBuilder}
|
||||
* @throws IOException
|
||||
*/
|
||||
public abstract void process(ResponseBuilder rb) throws IOException;
|
||||
|
||||
/** Process for a distributed search.
|
||||
|
|
Loading…
Reference in New Issue