mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
ingest: don't render template twice for append processor
This commit is contained in:
parent
22242ec881
commit
48926b4d66
@ -80,7 +80,7 @@ public final class AppendProcessor extends AbstractProcessor {
|
||||
Object value = ConfigurationUtils.readObject(TYPE, processorTag, config, "value");
|
||||
TemplateService.Template compiledTemplate = ConfigurationUtils.compileTemplate(TYPE, processorTag,
|
||||
"field", field, templateService);
|
||||
return new AppendProcessor(processorTag, templateService.compile(field), ValueSource.wrap(value, templateService));
|
||||
return new AppendProcessor(processorTag, compiledTemplate, ValueSource.wrap(value, templateService));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user