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 <[email protected]> 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 : > >> Would the histogram facet work for you? >> >> http://www.elasticsearch.org/guide/en/elasticsearch/ >> reference/current/search-facets-histogram-facet.html >> >> BTW, if you've upgraded to 1.0, you might want to look at aggregations >> which are more powerful than facets. >> > -- > 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 protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/d15ad9a0-edb0-4fea-bf35-0d8674b4a924%40googlegroups.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQDT%3DRoR6U0pr8c365m6Ef%3D-%3D5eOYKeoszg%2B6WXXCu6H6w%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
