public class SolrProtoMapper extends AbstractProtoMapper
| Constructor and Description |
|---|
SolrProtoMapper(String fields)
Instantiates a new proto document mapper.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRecordId(String objIdentifier,
String actionSetId) |
org.apache.solr.common.SolrInputDocument |
map(com.google.protobuf.GeneratedMessage proto,
String version,
String dsId,
String actionSetId)
Map.
|
processMultiPath, processPath, processPathpublic SolrProtoMapper(String fields) throws org.dom4j.DocumentException
fields - the fieldsorg.dom4j.DocumentException - the document exceptionpublic org.apache.solr.common.SolrInputDocument map(com.google.protobuf.GeneratedMessage proto,
String version,
String dsId,
String actionSetId)
throws org.dom4j.DocumentException
proto - the protoversion - the versiondsId - the ds idorg.dom4j.DocumentException - the document exceptionCopyright © 2018. All rights reserved.