Class AnnotationIndexAugmenter
java.lang.Object
io.goobi.viewer.model.annotation.serialization.AnnotationIndexAugmenter
- All Implemented Interfaces:
IndexAugmenter
- Author:
- florian
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
augmentReIndexPage
(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).void
augmentReIndexRecord
(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).boolean
Two instances are equal if they contain the same annotations (disregarding order)int
hashCode()
-
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 Exception Description copied from interface:IndexAugmenter
Any additional tasks this module needs to perform when re-indexing a record (e.g. putting additional files into the hotfolder).- Specified by:
augmentReIndexRecord
in interfaceIndexAugmenter
- Parameters:
pi
- aString
object.dataRepository
- aString
object.namingScheme
- aString
object.- Throws:
Exception
- if any.
-
augmentReIndexPage
public boolean augmentReIndexPage(String pi, int page, org.apache.solr.common.SolrDocument doc, String dataRepository, String namingScheme) throws Exception Description copied from interface:IndexAugmenter
Any additional tasks this module needs to perform when re-indexing a page (e.g. putting additional files into the hotfolder).- Specified by:
augmentReIndexPage
in interfaceIndexAugmenter
- Parameters:
pi
- aString
object.page
- a int.doc
- aSolrDocument
object.dataRepository
- aString
object.namingScheme
- aString
object.- Returns:
- true if successful; false otherwise
- Throws:
Exception
- if any.
-
hashCode
public int hashCode() -
equals
Two instances are equal if they contain the same annotations (disregarding order)
-