Hi team,
What is the expected behaviour if one client sends a batch request with the same document ID but different content?
Does Elasticsearch execute them in the order it received it, or does it do any deduplication?
Thank you
Hi team,
What is the expected behaviour if one client sends a batch request with the same document ID but different content?
Does Elasticsearch execute them in the order it received it, or does it do any deduplication?
Thank you
Yes, they will be executed in order without any deduplication. Be aware that frequent updates to the same document has, at least in the past (not sure whether this is still an issue), potential to led to performance problems and increased overhead. It is therefore generally better to deduplicate before the batch is sent.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.