Class AlfrescoSolrClusteringComponent

  • All Implemented Interfaces:
    org.apache.solr.core.SolrInfoMBean, org.apache.solr.util.plugin.NamedListInitializedPlugin, org.apache.solr.util.plugin.SolrCoreAware

    public class AlfrescoSolrClusteringComponent
    extends org.apache.solr.handler.component.SearchComponent
    implements org.apache.solr.util.plugin.SolrCoreAware
    Author:
    Andy
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoMBean

        org.apache.solr.core.SolrInfoMBean.Category, org.apache.solr.core.SolrInfoMBean.Group
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String COMPONENT_NAME
      Base name for all component parameters.
      • Fields inherited from class org.apache.solr.handler.component.SearchComponent

        standard_components
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.solr.common.SolrDocumentList docListToSolrDocumentList​(org.apache.solr.search.DocList docs, org.apache.solr.request.SolrQueryRequest req, java.util.Map<org.apache.solr.common.SolrDocument,​java.lang.Integer> ids)  
      void finishStage​(org.apache.solr.handler.component.ResponseBuilder rb)  
      java.lang.String getDescription()  
      void inform​(org.apache.solr.core.SolrCore core)  
      void init​(org.apache.solr.common.util.NamedList args)  
      void prepare​(org.apache.solr.handler.component.ResponseBuilder rb)  
      void process​(org.apache.solr.handler.component.ResponseBuilder rb)  
      • Methods inherited from class org.apache.solr.handler.component.SearchComponent

        distributedProcess, getCategory, getDocs, getName, getSource, getStatistics, getVersion, handleResponses, modifyRequest, setName
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COMPONENT_NAME

        public static final java.lang.String COMPONENT_NAME
        Base name for all component parameters. This name is also used to register this component with SearchHandler.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AlfrescoSolrClusteringComponent

        public AlfrescoSolrClusteringComponent()
    • Method Detail

      • init

        public void init​(org.apache.solr.common.util.NamedList args)
        Specified by:
        init in interface org.apache.solr.util.plugin.NamedListInitializedPlugin
        Overrides:
        init in class org.apache.solr.handler.component.SearchComponent
      • inform

        public void inform​(org.apache.solr.core.SolrCore core)
        Specified by:
        inform in interface org.apache.solr.util.plugin.SolrCoreAware
      • prepare

        public void prepare​(org.apache.solr.handler.component.ResponseBuilder rb)
                     throws java.io.IOException
        Specified by:
        prepare in class org.apache.solr.handler.component.SearchComponent
        Throws:
        java.io.IOException
      • process

        public void process​(org.apache.solr.handler.component.ResponseBuilder rb)
                     throws java.io.IOException
        Specified by:
        process in class org.apache.solr.handler.component.SearchComponent
        Throws:
        java.io.IOException
      • docListToSolrDocumentList

        public org.apache.solr.common.SolrDocumentList docListToSolrDocumentList​(org.apache.solr.search.DocList docs,
                                                                                 org.apache.solr.request.SolrQueryRequest req,
                                                                                 java.util.Map<org.apache.solr.common.SolrDocument,​java.lang.Integer> ids)
                                                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • finishStage

        public void finishStage​(org.apache.solr.handler.component.ResponseBuilder rb)
        Overrides:
        finishStage in class org.apache.solr.handler.component.SearchComponent
      • getDescription

        public java.lang.String getDescription()
        Specified by:
        getDescription in interface org.apache.solr.core.SolrInfoMBean
        Specified by:
        getDescription in class org.apache.solr.handler.component.SearchComponent