Re: Specifying bucket values ordering in Range aggregation

2014-10-09 Thread Sven Jörns
But if I'm limiting the results by size(), I need to order to have specific results like the 10 bests order or is there another way? Am Mittwoch, 10. September 2014 22:55:33 UTC+2 schrieb Adrien Grand: The range aggregation indeed does not support ordering. I believe that is something that

Re: Specifying bucket values ordering in Range aggregation

2014-09-10 Thread Adrien Grand
The range aggregation indeed does not support ordering. I believe that is something that would be easy to implement on client side? On Wed, Sep 10, 2014 at 2:13 AM, Raul, Jr. Martinez jun...@gmail.com wrote: Hello, I'd like to add an order parameter to a range aggregation ( use case: sorting

Specifying bucket values ordering in Range aggregation

2014-09-09 Thread Raul, Jr. Martinez
Hello, I'd like to add an order parameter to a range aggregation ( use case: sorting the age of records from latest added to oldest) but adding order : {_terms:asc} or _count causes a search error. I'm trying to confirm if range aggregation doesn't really support order parameter at this point