Package org.opencms.search.solr
Class CmsSolrLinkProcessor
java.lang.Object
org.opencms.search.solr.CmsSolrLinkProcessor
- All Implemented Interfaces:
- I_CmsSolrPostSearchProcessor
This Solr post processor generates for each found document the corresponding link and
 adds this link into the resulting document as field.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinit()(Re-)Initializes the post processor.org.apache.solr.common.SolrDocumentprocess(CmsObject cms, CmsResource resource, org.apache.solr.common.SolrInputDocument document) Performs the post processing.
- 
Constructor Details- 
CmsSolrLinkProcessorpublic CmsSolrLinkProcessor()
 
- 
- 
Method Details- 
processpublic org.apache.solr.common.SolrDocument process(CmsObject cms, CmsResource resource, org.apache.solr.common.SolrInputDocument document) Description copied from interface:I_CmsSolrPostSearchProcessorPerforms the post processing.- Specified by:
- processin interface- I_CmsSolrPostSearchProcessor
- Parameters:
- cms- the CMS object
- resource- the resource for the found document
- document- the document itself
- Returns:
- the manipulated Solr document
- See Also:
 
- 
initDescription copied from interface:I_CmsSolrPostSearchProcessor(Re-)Initializes the post processor.- Specified by:
- initin interface- I_CmsSolrPostSearchProcessor
- See Also:
 
 
-