Package org.mycore.solr.index.file
Interface MCRSolrFileIndexAccumulator
- All Known Implementing Classes:
MCRMetsFileIndexAccumulator
,MCRSolrAltoExtractor
,MCRSolrFileIndexBaseAccumulator
public interface MCRSolrFileIndexAccumulator
This interface is used to accumulate information of a file to a solr document.
Add instances of this interface to the property
MCR.Solr.Indexer.File.AccumulatorList
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accumulate
(org.apache.solr.common.SolrInputDocument document, Path filePath, BasicFileAttributes attributes) Adds additional information to a File.
-
Method Details
-
accumulate
void accumulate(org.apache.solr.common.SolrInputDocument document, Path filePath, BasicFileAttributes attributes) throws IOException Adds additional information to a File.- Parameters:
document
- which holds the informationfilePath
- to the file in a derivateattributes
- of the file in a derivate- Throws:
IOException
-