I have a scenario where elasticsearch (version 2.3) is not returning results even though data is present. The same request gets a response on retrying. But why does elastic search fails to fetch a response in the first time.

Any help in understanding

NOTE: I am querying the data using "match". So the text analyzer issue mustn't be in play (https://www.elastic.co/blog/found-beginner-troubleshooting). Also it gives result on retry

Found the answer for initial question: Updating the question

https://discuss.elastic.co/t/how-documents-read-and-write-work-in-elasticsearch-if-we-doing-this-on-the-same-document-simultaneously/125139

0 Answers