Hi everyone, How does the query_by_weights proper...
# community-help
s
Hi everyone, How does the query_by_weights property in the search request reflect in the text_match_info ? If I set a specific field's weight to say 11( while others are just 1), and pass a query that best matches the value in this field (For a particular record), will text_match_info.best_field_weight have a value of 11 ? Is that an indicator that the query matches the value in this field ? Is there any other way to determine which field was the best match out of all fields_matched ?
f
The way we calculate the text match score, you can't exactly make out the weight of each field score. Unless you check out the snippet value in your highlights which showcase which field it matched on, you can't know just from the score itself