mirror of https://github.com/apache/lucene.git
SOLR-6263: Add DIH handler name to variable resolver as ${dih.handlerName}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612354 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0901f25e20
commit
ea00cf4e6c
|
@ -146,6 +146,8 @@ New Features
|
|||
* SOLR-6258: Added onRollback event handler hook to Data Import Handler (DIH).
|
||||
(ehatcher)
|
||||
|
||||
* SOLR-6263: Add DIH handler name to variable resolver as ${dih.handlerName}. (ehatcher)
|
||||
|
||||
|
||||
Bug Fixes
|
||||
----------------------
|
||||
|
|
|
@ -125,6 +125,7 @@ public class DocBuilder {
|
|||
}
|
||||
indexerNamespace.put(INDEX_START_TIME, dataImporter.getIndexStartTime());
|
||||
indexerNamespace.put("request", new HashMap<>(reqParams.getRawParams()));
|
||||
indexerNamespace.put("handlerName", dataImporter.getHandlerName());
|
||||
for (Entity entity : dataImporter.getConfig().getEntities()) {
|
||||
Map<String, Object> entityNamespace = new HashMap<>();
|
||||
String key = SolrWriter.LAST_INDEX_KEY;
|
||||
|
|
Loading…
Reference in New Issue