Package org.alfresco.solr.component
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 -
Method Summary
Methods inherited from class org.apache.solr.handler.component.SearchComponent
distributedProcess, finishStage, getCategory, getDocs, getName, getSource, getStatistics, getVersion, handleResponses, init, modifyRequest, setName
-
Constructor Details
-
RewriteFieldListComponent
public RewriteFieldListComponent()
-
-
Method Details
-
prepare
public void prepare(org.apache.solr.handler.component.ResponseBuilder responseBuilder) - Specified by:
preparein classorg.apache.solr.handler.component.SearchComponent
-
process
public void process(org.apache.solr.handler.component.ResponseBuilder responseBuilder) - Specified by:
processin classorg.apache.solr.handler.component.SearchComponent
-
getDescription
- Specified by:
getDescriptionin interfaceorg.apache.solr.core.SolrInfoMBean- Specified by:
getDescriptionin classorg.apache.solr.handler.component.SearchComponent
-