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 streamException
SolrDoc mergeWithIndexedDocument(SolrDoc indexDocument) throws IOException, org.apache.commons.codec.EncoderException, XPathExpressionException
IOException
org.apache.commons.codec.EncoderException
XPathExpressionException
Copyright © 2022. All rights reserved.