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 Type
    Method
    Description
    void
    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 information
      filePath - to the file in a derivate
      attributes - of the file in a derivate
      Throws:
      IOException