public interface IDocumentSubprocessor
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(String formatId)
Determines if subprocessor should be run on document
|
SolrDoc |
mergeWithIndexedDocument(SolrDoc indexDocument) |
Map<String,SolrDoc> |
processDocument(String identifier,
Map<String,SolrDoc> docs,
InputStream is)
Method allows for manipulation of indexed fields that should be added to solr index
|
boolean canProcess(String formatId)
formatId - for the object being testedMap<String,SolrDoc> processDocument(String identifier, Map<String,SolrDoc> docs, InputStream is) throws Exception
identifier - id of original document in Map docsdocs - Documents indexed by identifiersis - original document streamExceptionSolrDoc mergeWithIndexedDocument(SolrDoc indexDocument) throws IOException, org.apache.commons.codec.EncoderException, XPathExpressionException
IOExceptionorg.apache.commons.codec.EncoderExceptionXPathExpressionExceptionCopyright © 2022. All rights reserved.