All Questions
1 question
1
vote
1
answer
3k
views
How to sort a composite aggregation on the basis of a sub aggregation ? Below is the query
GET myIndex/_search
{
"from": 0,
"size": 0,
"query": {
"bool": {
"must": [
{
"term": {
"user_id": {
"value": "a88604b0",
"...