Skip to content

Aggregation results does not include the Key #685

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

Closed
adamporat opened this issue May 25, 2014 · 2 comments
Closed

Aggregation results does not include the Key #685

adamporat opened this issue May 25, 2014 · 2 comments

Comments

@adamporat
Copy link

When using aggregations on a field, the results include the aggs, and also the DocCount of each KeyItem, but the field's key (the actuall value being counted - Nest.KeyItem.Key) is null.
Running the same raw query directly on elasticsearch (using Sense plug-in) worked correctly.
The aggs clause used is:
"aggs": {
"Cities": {
"terms": {
"field": "cityId"
}
}

@Mpdreamz
Copy link
Member

My guess is because cityId is numeric, this has been reported and fixed in #684 .

Still 👍 for submitting the issue.

@adamporat
Copy link
Author

Correct, it is numeric. Any estimation when the corrected version will be released for use?

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