Hi !
In our application, we use aggregations using this kind of syntax:
"aggs": {
"question_1.answer.id": {
"terms": {
"field": "question_1.answer.id",
"size": 20000
},
"aggs": {
"id": {
"terms": {
"field": "id",
"size": 20000
}
}
}
},
"question_2.answer.id": {
"terms": {
"field": "question_2.answer.id",
"size": 20000
},
"aggs": {
"id": {
"terms": {
"field": "id",
"size": 20000
}
}
}
},
"question_3.answer.id": {
"terms": {
"field": "question_3.answer.id",
"size": 20000
},
"aggs": {
"id": {
"terms": {
"field": "id",
"size": 20000
}
}
}
},
In ES7, the aggregations in the result were ordered by a strange order (question_99, question_16, etc)
In ES8, the aggregations names are "naturally" ordered (question_1, question_2, etc)
Is it a setting in configuration ?
Thanks