Package org.opencms.search.solr
Interface I_CmsSolrPostSearchProcessor
- All Known Implementing Classes:
CmsSolrLinkProcessor
public interface I_CmsSolrPostSearchProcessor
The post document processor can be used in order to
manipulate search results after the OpenCms permission
check has been done.
NOTE: Currently it is only possible to use this interface if you run an embedded Solr server instance.
- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidinit()(Re-)Initializes the post processor.org.apache.solr.common.SolrDocumentprocess(CmsObject searchCms, CmsResource resource, org.apache.solr.common.SolrInputDocument document) Performs the post processing.
-
Method Details
-
init
void init()(Re-)Initializes the post processor. -
process
org.apache.solr.common.SolrDocument process(CmsObject searchCms, CmsResource resource, org.apache.solr.common.SolrInputDocument document) Performs the post processing.- Parameters:
searchCms- the CMS objectresource- the resource for the found documentdocument- the document itself- Returns:
- the manipulated Solr document
-