I have a requirement where I want to use ES 1.7 queries, but the _score is irrelevant to me, so I would like to disable ES's scoring mechanism for queries. If I wrap my whole query in a constant_score
query, should I see some improvement in response time? Could not find this explanation in the docs.
Is this more performant than just the filtered
query at the top level?
{
"query": {
"constant_score": {
"query": {
"filtered": {
"filter": {
"term": {
"status": "open"
}
},
"query": {
"match": {
"topic": "elastic search"
}
}
}
}
}
}
}