Class RewriteFieldListComponent

java.lang.Object
org.apache.solr.handler.component.SearchComponent
org.alfresco.solr.component.RewriteFieldListComponent
All Implemented Interfaces:
org.apache.solr.core.SolrInfoMBean, org.apache.solr.util.plugin.NamedListInitializedPlugin

public class RewriteFieldListComponent extends org.apache.solr.handler.component.SearchComponent
Transform the fieldlist depending on the use of cached transformer: [cached] -> add to the field list the translations of the fiels to the internal schema notation otherwise -> modify the field list in order to contains a subset of the following fields: id, DBID, and score
  • 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 inherited from class org.apache.solr.handler.component.SearchComponent

    standard_components
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    prepare(org.apache.solr.handler.component.ResponseBuilder responseBuilder)
     
    void
    process(org.apache.solr.handler.component.ResponseBuilder responseBuilder)
     

    Methods inherited from class org.apache.solr.handler.component.SearchComponent

    distributedProcess, finishStage, getCategory, getDocs, getName, getSource, getStatistics, getVersion, handleResponses, init, modifyRequest, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RewriteFieldListComponent

      public RewriteFieldListComponent()
  • Method Details

    • prepare

      public void prepare(org.apache.solr.handler.component.ResponseBuilder responseBuilder)
      Specified by:
      prepare in class org.apache.solr.handler.component.SearchComponent
    • process

      public void process(org.apache.solr.handler.component.ResponseBuilder responseBuilder)
      Specified by:
      process in class org.apache.solr.handler.component.SearchComponent
    • getDescription

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