Class SolrTrashElementIndexer

java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.content.indexing.solr.SolrTrashElementIndexer
All Implemented Interfaces:
SolrFieldNames, LogEnabled, Component

Component for DefaultTrashElement indexing into a Solr server.
  • Field Details

    • ROLE

      public static final String ROLE
      The component role.
  • Constructor Details

  • Method Details

    • indexTrashElement

      public List<org.apache.solr.common.SolrInputDocument> indexTrashElement(DefaultTrashElement trashElement, org.apache.solr.common.SolrInputDocument document) throws Exception
      Populate a solr input document by adding fields to index into it.
      Parameters:
      trashElement - The trash element to index
      document - The main solr document to index into
      Returns:
      Additional documents for repeater instances
      Throws:
      Exception - if an error occurred while indexing