I'm having trouble finding any documentation defin...
# community-help
m
I'm having trouble finding any documentation defining the fields inside
text_match_info
. Does it exist?
It would be nice to have detail on how to interpret each field.
Copy code
"text_match_info": {
	"best_field_score": "1108091338752",
	"best_field_weight": 15,
	"fields_matched": 1,
	"score": "578730123365187705",
	"tokens_matched": 1
}
j
We haven't documented this yet... But any particular behavior I can help explain?
m
What is
best_field_weight
and how is it reflected in the score?
Also
best_field_score
It also appears that the
text_match_info
is the same for each result?
k
best_field_weight
is the weight of the field with the best matching text when scored against the query tokens. If a user provided set of field weights are not given, the fields in the query are assigned descending order of weights.
best_field_score
is the actual score of the best matching field. We use these values to compute an aggregated text match score per record.
It also appears that the
text_match_info
is the same for each result?
This can happen if all records being returned exactly contain all the query tokens.