Is there a way to get the score from a query with filter? Or do I need to restructure my query without filters?
I would need a score between 0-1.
Now it looks like this:
{
"from": 0,
"size": 10,
"query": {
"bool": {
"must": {
"bool": {
"filter": [
{
"term": {
"lastName.normalize": {
"value": "Doe"
}
}
},
{
"term": {
"type.normalize": {
"value": "Individual"
}
}
}
]
}
}
}
}
}