Min_score for a "must" in a bool query in Elasticsearch
Try this and let me know if it works:
{ "query": { "bool": { "must": [ { "function_score": { "query": { "match": { "name": { "query": "A Name" } } }, "min_score": 0.3 } }, { "function_score": { "query": { "match": { "address": { "query": "1 Somewhere Street, Somewhereset, UK" } } }, "min_score": 0.3 } } ] } }}
It seems that the score of a query is calculated from all of the fields combined. You can change how the score is calculated using the script_score in a function query: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-function-score-query.html#function-script-score
However, it seems unlikely that you can access the score of each field result individually.