I'am having conflit's and just wanna know internal behavior of elastic that cause conflit's.
I'am using Java API 5.1.1 for load of documents to elastic.
I use bulk upsert and after a cicle with update with a script, and receive some conflit's (probably i send request to faster to same index and same document).
I know that version is important, and elastic work with version of a document (I think so), but in which moment elastic request a version of a document to posteriorly update them?
Elastic is assincronous, so suppose that in each request it will be passed on to queue.
If elastic receive a partial update on a document and a milisecond after receiving another request to set the value of a field based on the script sent and is nothing about the field previous alter, do not need to exist any conflit.
Also I notice that version 6.6 allow persitence on conflit, but do not belive that the team that is inserted will allow migration.
Standard ElasticSearch : 5.6.4
JAVA : 1.8_191
Windows 10 Build 1809