Michael Perks
08/13/2024, 3:50 PMtext_match
score and so then it sorts the results by the default sort of descending created order. Why do "Rachel Smith" and "Robert Smith" have a higher text_match score and should appear higher. What am I missing?
"highlights": [
{
"field": "last_name",
"matched_tokens": [
"Smith"
],
"snippet": "<mark>Smith</mark>"
},
{
"field": "name",
"matched_tokens": [
"Smith"
],
"snippet": "Laura <mark>Smith</mark>"
}
],
"text_match": 578730123365711986,
"text_match_info": {
"best_field_score": "1108091339008",
"best_field_weight": 14,
"fields_matched": 2,
"num_tokens_dropped": 1,
"score": "578730123365711986",
"tokens_matched": 1,
"typo_prefix_score": 0
}