I use python and I sort data in alphabetical order,but only one data in there will not be sorted like that but put it at the top
I dont have solution for problem
This is my query:
{
"query": {
"bool": {
"must": [
{
"match": {
"type": "COUNTRY"
}
},
{
"wildcard": {
"value": "**"
}
},
{
"bool": {
"should": [
{
"bool": {
"must": []
}
}
]
}
}
]
}
},
"sort": [
{
"country": {
"order": "asc",
"missing": "_first"
}
}
],
"size": 10,
"track_total_hits": true
}