Interface ItemIndexFactory

All Superinterfaces:
DSpaceObjectIndexFactory<IndexableItem,Item>, IndexFactory<IndexableItem,Item>
All Known Implementing Classes:
ItemIndexFactoryImpl

public interface ItemIndexFactory extends DSpaceObjectIndexFactory<IndexableItem,Item>
Factory interface for indexing/retrieving items in the search core
Author:
Kevin Van de Velde (kevin at atmire dot com)
  • Method Details

    • addDiscoveryFields

      void addDiscoveryFields(org.apache.solr.common.SolrInputDocument doc, Context context, Item item, List<DiscoveryConfiguration> discoveryConfigurations) throws SQLException, IOException
      Store item fields in the solr document
      Parameters:
      doc - Solr input document which will be written to our discovery solr core
      context - DSpace context object
      item - Item for which we want to index our fields in the provided solr document
      discoveryConfigurations - The discovery configuration which holds information for which item fields we should index
      Throws:
      SQLException - If database error
      IOException - If IO error