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

TermsLookup is not implemented? #500

Closed
ww24 opened this issue Mar 29, 2017 · 1 comment
Closed

TermsLookup is not implemented? #500

ww24 opened this issue Mar 29, 2017 · 1 comment

Comments

@ww24
Copy link

ww24 commented Mar 29, 2017

Does search_queries_terms.go not implement Terms Lookup?

Which version of Elastic are you using?

[ ] elastic.v2 (for Elasticsearch 1.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[x] elastic.v5 (for Elasticsearch 5.x)

Please describe the expected behavior

https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-query.html#query-dsl-terms-lookup

Please describe the actual behavior

TermsQuery struct does not have field index, type, id, path.

https://github.com/olivere/elastic/blob/v5.0.31/search_queries_terms.go

Any steps to reproduce the behavior?

@olivere
Copy link
Owner

olivere commented Mar 29, 2017

Yes, looks like it is missing the Terms lookup mechanism. I need to look over what the Java code looks like for TermsQuery, and then add it to elastic.

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

2 participants