Histogram facet grouping ( Ensuring unique members )


(hubbell) #1

Hello all. New to ElasticSearch... great stuff. Question about the
histogram faceting that I am having trouble with. How do I ensure
documents that are on the edge of the interval are not counted twice?
For instance when using an interval of 100, an item who's value is 200
will be counted in both the 100-200 bucket and the 200-300 bucket. How
do I get facets that represent 0-99, 100-199, etc. Am I missing
something obvious? Thanks.


(Shay Banon) #2

Can you post an example of this happening (check http://www.elasticsearch.org/help). Basically, a value of 200 will fall into the 200-300 bucket.
On Thursday, February 17, 2011 at 8:18 PM, hubbell wrote:

Hello all. New to ElasticSearch... great stuff. Question about the
histogram faceting that I am having trouble with. How do I ensure
documents that are on the edge of the interval are not counted twice?
For instance when using an interval of 100, an item who's value is 200
will be counted in both the 100-200 bucket and the 200-300 bucket. How
do I get facets that represent 0-99, 100-199, etc. Am I missing
something obvious? Thanks.


(system) #3