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

Remove support for sorting terms aggregation by ascending count #18940

Merged
merged 1 commit into from
Jun 17, 2016
Merged

Remove support for sorting terms aggregation by ascending count #18940

merged 1 commit into from
Jun 17, 2016

Conversation

jimczi
Copy link
Contributor

@jimczi jimczi commented Jun 17, 2016

closes #17614

@@ -26,3 +26,7 @@ for `from` and `to` anymore.
`size: 0` is no longer valid for the terms, significant terms and geohash grid
aggregations. Instead a size should be explicitly specified with a number greater
than zero.

==== `order: {"count": "desc"}` on Terms
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it be s/desc/asc/ ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, thanks !

@jpountz
Copy link
Contributor

jpountz commented Jun 17, 2016

LGTM, can you put a comment on elastic/kibana#6833 saying we are moving forward on this?

@jimczi jimczi merged commit cea5f16 into elastic:master Jun 17, 2016
@jimczi jimczi deleted the terms_count_asc branch June 17, 2016 13:07
@jimczi
Copy link
Contributor Author

jimczi commented Jun 17, 2016

Sure, thanks @jpountz !

@jpountz
Copy link
Contributor

jpountz commented Jun 17, 2016

@jimferenczi Let's add deprecation logging on 2.4/2.x?

@jimczi
Copy link
Contributor Author

jimczi commented Jun 17, 2016

The functionality is deprecated in 2.4/2.x but this PR has been reverted since it requires changes in Kibana. I'll merge it after the alpha release.

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

Successfully merging this pull request may close these issues.

Remove support for sorting terms aggregation by ascending count
3 participants