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 <[email protected]>
wrote:

> 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 or am I just missing anything. Been into
> the documentation examples, mailing list and github issues but couldn't
> really confirm if this is really the case.
>
>
> Thanks
> Raul
>
>
>  --
> 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/a0b4c6a2-69b0-4e70-96ed-f1497cd80f27%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/a0b4c6a2-69b0-4e70-96ed-f1497cd80f27%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Adrien Grand

-- 
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/CAL6Z4j63wsQM%2B9tvbmku9fw8JaPdAvgvBduTrHmAG3TE54mY3w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to