org.opencms.search.solr
Class CmsSolrLinkProcessor

java.lang.Object
  extended by org.opencms.search.solr.CmsSolrLinkProcessor
All Implemented Interfaces:
I_CmsSolrPostSearchProcessor

public class CmsSolrLinkProcessor
extends java.lang.Object
implements 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 Summary
CmsSolrLinkProcessor()
           
 
Method Summary
 org.apache.solr.common.SolrDocument process(CmsObject cms, CmsResource resource, org.apache.solr.common.SolrInputDocument document)
          Performs the post processing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmsSolrLinkProcessor

public CmsSolrLinkProcessor()
Method Detail

process

public org.apache.solr.common.SolrDocument process(CmsObject cms,
                                                   CmsResource resource,
                                                   org.apache.solr.common.SolrInputDocument document)
Description copied from interface: I_CmsSolrPostSearchProcessor
Performs the post processing.

Specified by:
process in 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:
I_CmsSolrPostSearchProcessor.process(org.opencms.file.CmsObject, org.opencms.file.CmsResource, org.apache.solr.common.SolrInputDocument)