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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
