I use range filter on some integer facets but I have to "manually" set the
range (from x to y, from y to z, ...)
Is there a way to ask ES to do those steps automatically ?
I undersand that statical can help whit the mean value ... but it means to
do 2 call just for one facets.
Did I miss something ?
There is no automatic bucketing in Elasticsearch. I mimic the behavior with
an expensive process that uses many smaller fixed ranges which are reduced
into the number of buckets needed on the client side. Easily the slowest
part of my query. My goal was to wait for the facet refactor (which has
since become aggregations) before attempting a better server side
implementation, but now I am too busy to revisit it.
Cheers,
Ivan
On Fri, Feb 14, 2014 at 7:45 AM, Georges@Bibtol sg@quable.fr wrote:
Hi,
This could work but the issue is the same.
I do not want to tell the interval but I want elastic to choose for me.
Le vendredi 14 février 2014 16:42:48 UTC+1, Binh Ly a écrit :
When creating histograms for my UI if the user does not provide the number
of bins/interval I'm finding the min and max values using the new min & max
aggregations and then computing the number of bins/interval using the Rice
Rule described
here:Histogram - Wikipedia
I'm pretty happy with the results.
Brian
On Friday, February 14, 2014 9:31:58 AM UTC-5, Georges@Bibtol wrote:
Hi everyone,
I have multiple facets on text, integer, date.
I use range filter on some integer facets but I have to "manually" set the
range (from x to y, from y to z, ...)
Is there a way to ask ES to do those steps automatically ?
I undersand that statical can help whit the mean value ... but it means to
do 2 call just for one facets.
Did I miss something ?
When creating histograms for my UI if the user does not provide the number
of bins/interval I'm finding the min and max values using the new min & max
aggregations and then computing the number of bins/interval using the Rice
Rule described here: Histogram - Wikipedia
I'm pretty happy with the results.
Brian
On Friday, February 14, 2014 9:31:58 AM UTC-5, Georges@Bibtol wrote:
Hi everyone,
I have multiple facets on text, integer, date.
I use range filter on some integer facets but I have to "manually" set
the range (from x to y, from y to z, ...)
Is there a way to ask ES to do those steps automatically ?
I undersand that statical can help whit the mean value ... but it means
to do 2 call just for one facets.
Did I miss something ?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.