Interface IndexAugmenter
- All Known Subinterfaces:
IModule
- All Known Implementing Classes:
AnnotationIndexAugmenter
public interface IndexAugmenter
- Author:
- Florian Alpers
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaugmentReIndexPage(String pi, int page, org.apache.solr.common.SolrDocument doc, String dataRepository, String namingScheme) Any additional tasks this module needs to perform when re-indexing a page (e.g. putting additional files into the hotfolder).voidaugmentReIndexRecord(String pi, String dataRepository, String namingScheme) Any additional tasks this module needs to perform when re-indexing a record (e.g. putting additional files into the hotfolder).
-
Method Details
-
augmentReIndexRecord
void augmentReIndexRecord(String pi, String dataRepository, String namingScheme) throws IndexAugmenterException Any additional tasks this module needs to perform when re-indexing a record (e.g. putting additional files into the hotfolder).- Parameters:
pi- persistent identifier of the record to re-indexdataRepository- data repository name containing the recordnamingScheme- naming scheme used for hotfolder file names- Throws:
IndexAugmenterException
-
augmentReIndexPage
boolean augmentReIndexPage(String pi, int page, org.apache.solr.common.SolrDocument doc, String dataRepository, String namingScheme) throws IndexAugmenterException Any additional tasks this module needs to perform when re-indexing a page (e.g. putting additional files into the hotfolder).- Parameters:
pi- persistent identifier of the record containing the pagepage- page order number within the recorddoc- Solr document representing the pagedataRepository- data repository name containing the recordnamingScheme- naming scheme used for hotfolder file names- Returns:
- true if successful; false otherwise
- Throws:
IndexAugmenterException
-