org.apache.solr.handler.component
Class SearchHandler
java.lang.Object
org.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.component.SearchHandler
- All Implemented Interfaces:
- SolrInfoMBean, SolrRequestHandler, PluginInfoInitialized, SolrCoreAware
- Direct Known Subclasses:
- RealTimeGetHandler, StandardRequestHandler
public class SearchHandler
- extends RequestHandlerBase
- implements SolrCoreAware, PluginInfoInitialized
Refer SOLR-281
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static org.slf4j.Logger log
components
protected List<SearchComponent> components
SearchHandler
public SearchHandler()
getDefaultComponents
protected List<String> getDefaultComponents()
init
public void init(PluginInfo info)
- Specified by:
init in interface PluginInfoInitialized
inform
public void inform(SolrCore core)
- Initialize the components based on name. Note, if using
INIT_FIRST_COMPONENTS or INIT_LAST_COMPONENTS,
then the DebugComponent will always occur last. If this is not desired, then one must explicitly declare all components using
the INIT_COMPONENTS syntax.
- Specified by:
inform in interface SolrCoreAware
getComponents
public List<SearchComponent> getComponents()
handleRequestBody
public void handleRequestBody(SolrQueryRequest req,
SolrQueryResponse rsp)
throws Exception
- Specified by:
handleRequestBody in class RequestHandlerBase
- Throws:
Exception
getDescription
public String getDescription()
- Description copied from interface:
SolrInfoMBean
- Simple one or two line description
- Specified by:
getDescription in interface SolrInfoMBean- Specified by:
getDescription in class RequestHandlerBase
getSource
public String getSource()
- Description copied from interface:
SolrInfoMBean
- CVS Source, SVN Source, etc
- Specified by:
getSource in interface SolrInfoMBean- Specified by:
getSource in class RequestHandlerBase
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.