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
Search: Terms Stats Facet #705
Comments
Search: Terms Stats Facet, closed by 352cb74. |
wow. pivot tables for the win! |
In page: http://www.elasticsearch.org/guide/reference/api/search/facets/terms-stats-facet.html I tried:
But it's not working! |
Count issue in terms stat facet. Please visit the issue.. |
MPC-2400: remove AMS & related code from devops repo, part elastic#2 * remove AMS & mongodb and update rc.local for it * gsed /d amd & mongodb out Approved-by: Gabi Davar Approved-by: Can Yildiz
The
terms_stats
facet combines theterms
andstats
facet to group based on akey_field
unique terms and compute stats (count, total, min, max) on another value field or script. For example:The
size
parameter controls how many facet entries will be returned. It defaults to10
. Setting it to0
will return all terms matching the hits.Ordering is done by setting
order
, with possible values ofterm
,reverse_term
,count
,reverse_count
,total
,reverse_total
,min
,reverse_min
,max
,reverse_max
. Defaults toterm
.The value computed can also be a script, using the
value_script
provided, in which case thelang
can control its language, andparams
allow to provide custom parameters (as in other scripted components).Note: It is expected that the will be a single value of the key field per doc, and one or multiple values of the value field.
The text was updated successfully, but these errors were encountered: