Interface ItemIndexFactory

    • Method Detail

      • 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