I have a request using terms looking like :
{
"query": {
"bool": {
"should": [
{
"terms": {
"subjects.id": [
1,
2,
3
], boost: 3
}
},
{
"terms": {
"qualification_type.id": [
3,
5
], boost: 2
}
}
]
}
}
I works pretty well but attributes a better score to documents that match three subject than to the document matching only one subject.
My question is : is there a way to force the score to be the same if there is one or many match on the subjects ?
Thanks in advance !