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

Rest API needs to be consistent across all multi-bucket aggs #4926

Closed
uboness opened this issue Jan 28, 2014 · 0 comments
Closed

Rest API needs to be consistent across all multi-bucket aggs #4926

uboness opened this issue Jan 28, 2014 · 0 comments

Comments

@uboness
Copy link
Contributor

uboness commented Jan 28, 2014

currently some multi-bucket aggs (e.g. histogram) return an array, others (e.g. terms) returns an object that holds a buckets array.

The preferred format is that of the terms agg, as it leaves room for future extensions (where we might want to add top level info with the agg response unrelated to a particular bucket).

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

No branches or pull requests

2 participants