Interface DSpaceObjectIndexFactory<T extends IndexableDSpaceObject,​S extends DSpaceObject>

    • Method Detail

      • getLocations

        List<String> getLocations​(Context context,
                                  T indexableDSpaceObject)
                           throws SQLException
        Return a list of the identifiers from the parents for the provided IndexableObject, communities will be prepended by "m", collections b "c"
        Parameters:
        context - DSpace context object
        Returns:
        A list of community identifiers with "m" prepended to every one
        Throws:
        SQLException - If database error
      • storeCommunityCollectionLocations

        void storeCommunityCollectionLocations​(org.apache.solr.common.SolrInputDocument doc,
                                               List<String> locations)
        Store the provided locations in the solr document
        Parameters:
        doc - The solr input document
        locations - The locations to be stored