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

Filtered terms aggregation no more works from 1.5 version #11959

Closed
dariuskasiulevicius opened this issue Jun 30, 2015 · 2 comments
Closed

Filtered terms aggregation no more works from 1.5 version #11959

dariuskasiulevicius opened this issue Jun 30, 2015 · 2 comments

Comments

@dariuskasiulevicius
Copy link

After upgrading ES from 1.4 to 1.5 some issue appears with terms aggregation.
On ES 1.4 this code is working perfect, beginning from 1.5 it returns empty buckets.

https://gist.github.com/Matrooskin/5c0bf81157038c6c3b6f

@dariuskasiulevicius dariuskasiulevicius changed the title Filtered aggregation no more works Filtered terms aggregation no more works from 1.5 version Jun 30, 2015
@clintongormley
Copy link
Contributor

Hi @Matrooskin

The problem is that you have a type name nestedDocs which is the same as a field name objNestedDocs.nestedDocs. This ambiguity is causing the problem.

We have fixed this in 2.0 with #8872. In the meantime, all I can suggest to you is to change either the type or the field name to remove the ambiguity

@dariuskasiulevicius
Copy link
Author

Thank you for quick response. I will do that change.

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