Hi @nik9000,
Thanks for that, After setting the preference to _primary, I get the wrong result, but it does not change.
That said, the following is the problem I am facing :
I have an Index - index with a Type - type. (example)
when I search using the endpoint index/_search , I get a set of results and every 3rd search gives the right result. The scores on the documents for the first 2 tries and the 3rd try are different. (Score for the first 2 tries for the top ranking document : 2.1197796, and the score for the 3rd try returning the correct document as the top ranking document : 2.2844782.
As far as I am concerned, that's a large difference in score. I would like to know why the difference.. The results are sort of deterministic in the sense that every 3rd try gives me the correct document. and the other two times, its the same wrong document with a lower score. When the correct document is not the top ranking document, it is returned with a score : 0.7614927
BUT, if the search endpoint is index/type/_search, the correct document is returned with the same score (2.2844782) as above. and it never changes.
The number of documents returned are the same in both case.