Class AlfrescoSearchHandler
- java.lang.Object
-
- org.apache.solr.handler.RequestHandlerBase
-
- org.apache.solr.handler.component.AlfrescoSearchHandler
-
- All Implemented Interfaces:
org.apache.solr.api.ApiSupport,org.apache.solr.core.SolrInfoMBean,org.apache.solr.handler.NestedRequestHandler,org.apache.solr.metrics.SolrMetricProducer,org.apache.solr.request.SolrRequestHandler,org.apache.solr.util.plugin.PluginInfoInitialized,org.apache.solr.util.plugin.SolrCoreAware
public class AlfrescoSearchHandler extends org.apache.solr.handler.RequestHandlerBase implements org.apache.solr.util.plugin.SolrCoreAware, org.apache.solr.util.plugin.PluginInfoInitialized- Author:
- Andy
-
-
Field Summary
Fields Modifier and Type Field Description protected List<org.apache.solr.handler.component.SearchComponent>components
-
Constructor Summary
Constructors Constructor Description AlfrescoSearchHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.apache.solr.handler.component.SearchComponent>getComponents()protected List<String>getDefaultComponents()StringgetDescription()voidhandleRequestBody(org.apache.solr.request.SolrQueryRequest req, org.apache.solr.response.SolrQueryResponse rsp)voidinform(org.apache.solr.core.SolrCore core)Initialize the components based on name.voidinit(org.apache.solr.core.PluginInfo info)org.apache.solr.common.SolrDocumenttoSolrDocument(org.apache.lucene.document.Document doc, org.apache.solr.schema.IndexSchema schema)-
Methods inherited from class org.apache.solr.handler.RequestHandlerBase
getApis, getCategory, getDocs, getInitArgs, getName, getPluginInfo, getRequestHandler, getSolrParamsFromNamedList, getSource, getStatistics, getSubHandler, getVersion, handleRequest, init, initializeMetrics, setPluginInfo
-
-
-
-
Field Detail
-
components
protected volatile List<org.apache.solr.handler.component.SearchComponent> components
-
-
Method Detail
-
init
public void init(org.apache.solr.core.PluginInfo info)
- Specified by:
initin interfaceorg.apache.solr.util.plugin.PluginInfoInitialized
-
inform
public void inform(org.apache.solr.core.SolrCore core)
Initialize the components based on name. Note, if usingINIT_FIRST_COMPONENTSorINIT_LAST_COMPONENTS, then theDebugComponentwill always occur last. If this is not desired, then one must explicitly declare all components using theINIT_COMPONENTSsyntax.- Specified by:
informin interfaceorg.apache.solr.util.plugin.SolrCoreAware
-
getComponents
public List<org.apache.solr.handler.component.SearchComponent> getComponents()
-
handleRequestBody
public void handleRequestBody(org.apache.solr.request.SolrQueryRequest req, org.apache.solr.response.SolrQueryResponse rsp) throws Exception- Specified by:
handleRequestBodyin classorg.apache.solr.handler.RequestHandlerBase- Throws:
Exception
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.solr.core.SolrInfoMBean- Specified by:
getDescriptionin classorg.apache.solr.handler.RequestHandlerBase
-
toSolrDocument
public final org.apache.solr.common.SolrDocument toSolrDocument(org.apache.lucene.document.Document doc, org.apache.solr.schema.IndexSchema schema)
-
-