Skip to content

Support aggregations for "missing" and "other" in tems_stats facet #2617

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
roytmana opened this issue Feb 5, 2013 · 1 comment
Closed

Comments

@roytmana
Copy link

roytmana commented Feb 5, 2013

Currently terms_stats facet will not calculate aggregations (I am particularly interested in total) for document missing the term or where term was not included in result due to facet size limit. When doing stats, users expect to see consistent breakdown of their data set by term. without knowing aggregates for missing and other it is impossible to present user a consistent picture - think a pie-chart with segments for terms. To be complete and consistent it must have Other and Missing segments!

In case by case scenario it may be possible to calculate multiple facets (statistical, terms and terms_stats) but even that would not allow for differentiation of aggregates for other and missing (except counts since they are coming from terms facet).

Ideally it should follow terms facet in providing aggregations for missing and other terms.

@clintongormley
Copy link
Contributor

As facets are deprecated, closing this in favour of #5324

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