Is it possible to use MultiMatch and Boosting Query together. I'm trying to match againts 3 or so fields and there are some specific terms (words) that should be a lower score than the others.
my template currently looks like this
"template": {
"query": {
"bool": {
"should": [
{
"multi_match": {
"type": "most_fields",
"query": "{{searchQuery}}",
"fields": [
"title^4",
"label_names^2",
"body"
]
}
}
]
}
}
}
Its currently wrapped in a bool query because i was trying to make the template support a dynamic amount of searchQuery inputs. But that's another issue to sort out later.