Hello , I am using new JAVA API Client version 8.7
in my Java multiThreaded Application
I am doing two task
1)task1) Reading , first different threads reading data from elasticsearch indexes
2)task2)After reading data and doing some business logic different threads are indexing into different elasticsearch indexes
now for a specific data , one thread is indexing record , and othere thread is doing some partial update on that record.
When Application is live , then i am not getting any data inconsistency , but when application is off , and there are data in read part , when my application is starting , the record which is first indexed and then updated is getting deleted.
i dont know why , i am not using any delete query.
instead of getting updated that document is getting deleted , i have tried in my code when i am not updating that document , then that document is presnet ?
why i am getting these incocnsistency . in my logs i have seen that data is getting updated.
in short i elasticserach this record is not present why?"_id":"2251799813686674"
BulkItemResponse is BulkResponse: {"errors":false,"items":[{"update":{"_id":"2251799813686674","_index":"logistics-orders-view","status":201,"_primary_term":1,"result":"created","_seq_no":54,"_shards":{"failed":0.0,"successful":1.0,"total":2.0},"_version":1}}BulkItemResponse is BulkResponse: {"errors":false,"items":[{"update":{"_id":"2251799813686674","_index":"logistics-orders-view","status":200,"_primary_term":1,"result":"updated","_seq_no":56,"_shards":{"failed":0.0,"successful":1.0,"total":2.0},"_version":2}}