Closed gransy closed 3 years ago
Hi,
please add support for Operation type: create / index - now you have fixed index (indexing.go:99).
With index - the data under same _id was replaced by new data With create - the doc will not create if exists under same _id
(https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html)
Its perfect if you dont want duplicity and also dont want replace current data in ES.
Jan
Thanks for the input.
Sounds good.
Note to self: indexing.go#L98
Done, via #38.
Hi,
please add support for Operation type: create / index - now you have fixed index (indexing.go:99).
With index - the data under same _id was replaced by new data With create - the doc will not create if exists under same _id
(https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html)
Its perfect if you dont want duplicity and also dont want replace current data in ES.
Jan