[ 
https://issues.apache.org/jira/browse/NIFI-10067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17718851#comment-17718851
 ] 

ASF subversion and git services commented on NIFI-10067:
--------------------------------------------------------

Commit 9bc05c098c0baba7e89c3f47b95f41dd714d107f in nifi's branch 
refs/heads/support/nifi-1.x from Chris Sampson
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9bc05c098c ]

NIFI-10067: enable use of script when updating documents in Elasticsearch via 
PutElasticsearchJson or PutElasticsearchRecord
NIFI-3262: enable use of dynamic_templates in Elasticsearch _bulk operations

Signed-off-by: Joe Gresock <[email protected]>

This closes #6628.


> Support script in Elasticsearch update operation
> ------------------------------------------------
>
>                 Key: NIFI-10067
>                 URL: https://issues.apache.org/jira/browse/NIFI-10067
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Stijn Caerts
>            Assignee: Chris Sampson
>            Priority: Major
>              Labels: elasticsearch
>             Fix For: 2.0.0
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> Right now, all update operations on Elasticsearch with the 
> PutElasticsearchRecord/Json processors use [the partial document update 
> approach|https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html#_update_part_of_a_document].
>  The content of the flow file is added as the {{doc}} in the update request 
> by the 
> [ElasticSearchClientServiceImpl|https://github.com/apache/nifi/blob/d79b3908360265eb0d50a5ce298a00c3054cdf82/nifi-nar-bundles/nifi-elasticsearch-bundle/nifi-elasticsearch-client-service/src/main/java/org/apache/nifi/elasticsearch/ElasticSearchClientServiceImpl.java#L281].
> Can there also be provided an option to [add a script to the update 
> request|https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html#update-api-desc]?
>  Using script updates [is supported in the Elasticsearch {{_bulk}} 
> API|https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-update],
>  so it should be possible to add this feature.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to