You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ChrisSamo632 (via GitHub)" <gi...@apache.org> on 2023/03/31 07:53:48 UTC
[GitHub] [nifi] ChrisSamo632 commented on pull request #6628: NIFI-10067 enable use of script, dynamic_templates and _bulk headers for PutElasticsearchJson/Record processors
ChrisSamo632 commented on PR #6628:
URL: https://github.com/apache/nifi/pull/6628#issuecomment-1491468884
A community member has [asked on Slack](https://apachenifi.slack.com/archives/C0L9VCD47/p1680008964668749?thread_ts=1680008108.684529&cid=C0L9VCD47) whether this change can also incorporate the option for [scripted_upsert](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html#scripted_upsert).
This would already be possible through the `PutElasticsearchJson` processor as it simply sends the FlowFile content as the request body to Elasticsearch, so the NiFi Flow just needs to ensure there's the `scripted_upsert: true` option set within the FlwoFile content before calling the `PutElasticsearchJson` processor.
An option to set this flag for the `PutElasticsearchRecord` processor should be added as part of this PR (it would make sense to do so, should be simple and hopefully completes the current set of Elasticsearch Update API options available to clients).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org