Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Term query returns 0 hits in Elasticsearch 7.x #1622

Open
sujayramesh opened this issue Jun 14, 2022 · 0 comments
Open

Term query returns 0 hits in Elasticsearch 7.x #1622

sujayramesh opened this issue Jun 14, 2022 · 0 comments

Comments

@sujayramesh
Copy link

sujayramesh commented Jun 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant