Reputation: 8628
I use PutElasticsearch
in order to save the content of FlowFile in Elasticsearch.
However, in this case, I always append the mapping of Elasticsearch. How can I always previously delete the existing content of the mapping and then save the new one, i.e. the content of FlowFile?
Upvotes: 0
Views: 154
Reputation: 4655
The data in Elasticsearch is immutable. So if you insert new data with the same id the data will be overriden. So you must use same id.
Upvotes: 1