For example, assume I have the following docs:
I can do a terms agg on user and get:
What if I didn't care about the actual total number of terms per value, and
instead just wanted them bucketed into say 2 bins, those that had counts
<=1, and those >=2?
Users Showing up >= 2 Times: 2
Users Showing up < 2 Times: 1
The range agg seems to give me the flexibility that I want in creating
buckets, that that is based on the actual numeric value of a field like
score or price. Is there a way to do the above without iterating through
the thousands of terms myself on the client side?
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4f36c603-eb3b-45a0-ad73-dd6f97a5a0fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.