Multisort on terms aggregation

Is there a way to do a sorting by multiple metrics in the terms
aggregations?
Here's the way I tried: https://gist.github.com/2e3s/599330bfef10e9375f6f
and this doesn't work.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f259c8ce-ac62-487b-af1c-21a19e230eac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

In the currently released versions it is not possible to sort by multiple
criteria in the terms aggregations. This
functionality is coming in 1.5 from this PR:
Add ability to sort on multiple criteria by colings86 · Pull Request #7662 · elastic/elasticsearch · GitHub.

The syntax will be a bit different from what you tried in your gist. have a
look
at Elasticsearch Platform — Find real-time answers at scale | Elastic
to see the syntax that is coming in 1.5 for this.

Colin

On Tuesday, 3 March 2015 17:00:15 UTC, Demetrioca wrote:

Is there a way to do a sorting by multiple metrics in the terms
aggregations?
Here's the way I tried: gist:599330bfef10e9375f6f · GitHub
and this doesn't work.

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/614fd9a1-5c88-4cd2-9596-b01a5d47cdad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.