I have a query, which will fired against 2 indices A & B. Results from index A is more important than B.
ES version : 7.8.0
Query::
{
"query": {
"terms": {
"id": ["a5af38bf-63ac-4e26-af25-68044ffea298","a5af38bf-63ac-4e26-af25-68044ffea298"]
}
},
"sort": [
{
"name": "asc"
}
],
"indices_boost": [
{
"A": 1.4
},
{
"B": 1.0
}
]
}
But because of sort, results are coming from index B. I need it from A.
Please help!
Thanks