Interface SolrEntityMetadataExtractor<E>

  • Type Parameters:
    E - the type of the parsed entity

    @Role
    @Unstable
    public interface SolrEntityMetadataExtractor<E>
    An extension point to be called when an entity is indexed for the Solr search core.
    Since:
    14.8RC1
    Version:
    $Id: f6b95132979269e1cde406194bd3e010411cfc98 $
    • Method Detail

      • extract

        boolean extract​(E entity,
                        org.apache.solr.common.SolrInputDocument solrDocument)
        Parameters:
        entity - the entity to index
        solrDocument - the Solr document where to inject metadata
        Returns:
        true if the Sold document was updated