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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void init()
      (Re-)Initializes the post processor.
      org.apache.solr.common.SolrDocument process​(CmsObject searchCms, CmsResource resource, org.apache.solr.common.SolrInputDocument document)
      Performs the post processing.
    • Method Detail

      • 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 object
        resource - the resource for the found document
        document - the document itself
        Returns:
        the manipulated Solr document