Class AnnotationIndexAugmenter
java.lang.Object
io.goobi.viewer.model.annotation.serialization.AnnotationIndexAugmenter
- All Implemented Interfaces:
IndexAugmenter
- Author:
- florian
-
Field Summary
Fields -
Constructor Summary
Constructors -
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).booleanTwo instances are equal if they contain the same annotations (disregarding order)inthashCode()
-
Field Details
-
SUFFIX_ANNOTATIONS
ConstantSUFFIX_ANNOTATIONS="_annotations"- See Also:
-
-
Constructor Details
-
AnnotationIndexAugmenter
-
AnnotationIndexAugmenter
public AnnotationIndexAugmenter()
-
-
Method Details
-
augmentReIndexRecord
public void augmentReIndexRecord(String pi, String dataRepository, String namingScheme) throws IndexAugmenterException Description copied from interface:IndexAugmenterAny additional tasks this module needs to perform when re-indexing a record (e.g. putting additional files into the hotfolder).- Specified by:
augmentReIndexRecordin interfaceIndexAugmenter- Parameters:
pi- aStringobject.dataRepository- aStringobject.namingScheme- aStringobject.- Throws:
IndexAugmenterException
-
augmentReIndexPage
public boolean augmentReIndexPage(String pi, int page, org.apache.solr.common.SolrDocument doc, String dataRepository, String namingScheme) throws IndexAugmenterException Description copied from interface:IndexAugmenterAny additional tasks this module needs to perform when re-indexing a page (e.g. putting additional files into the hotfolder).- Specified by:
augmentReIndexPagein interfaceIndexAugmenter- Parameters:
pi- aStringobject.page- a int.doc- aSolrDocumentobject.dataRepository- aStringobject.namingScheme- aStringobject.- Returns:
- true if successful; false otherwise
- Throws:
IndexAugmenterException
-
hashCode
public int hashCode() -
equals
Two instances are equal if they contain the same annotations (disregarding order)
-