elastic icon indicating copy to clipboard operation
elastic copied to clipboard

Term query returns 0 hits in Elasticsearch 7.x

Open sujayramesh opened this issue 3 years ago • 0 comments

Please use the following questions as a guideline to help me answer your issue/question without further inquiry. Thank you.

Term query returns unpedictable hits even through document is available in the ES. The response is either 0 hit or 1 hit.

Which version of Elastic are you using?

elastic.v7

github.com/olivere/elastic/v7 v7.0.32

Please describe the expected behavior

Term query to provided consistent output.

Please describe the actual behavior

Term query search result is unpredictable. Search returns 0 hits on few occassions and 1 hit on some other occassion.

Any steps to reproduce the behavior?

Attaching Mapping, Sample client program and Curl output

Curl output.pdf

Mapping.pdf

Client.go.pdf

sujayramesh avatar Jun 14 '22 13:06 sujayramesh