Hung-wei Chuang
09/22/2025, 9:39 PMTM = textmatch. the query is temp nyc, and i would expect it to have a very high text match score, but its 0. only one of the hits under that groupedHit is pinned (so 0 would be expected for it, but the other one is not pinned)Fanis Tharropoulos
09/23/2025, 9:03 AMHung-wei Chuang
09/23/2025, 2:57 PMHung-wei Chuang
09/23/2025, 4:28 PMtemp nyc
document 1: Highest temperature in NYC on Jul 20, 2025?
'text_match': 0,
'text_match_info': {'best_field_score': '0',
'best_field_weight': 0,
'fields_matched': 0,
'num_tokens_dropped': 2,
'score': '0',
'tokens_matched': 0,
'typo_prefix_score': 255},
'vector_distance': 0.13023704290390015}
document 2: Highest temperature in LA on Sep 23, 2025?
'text_match': 585476816288876545,
'text_match_info': {'best_field_score': '1108091339008',
'best_field_weight': 4,
'fields_matched': 1,
'num_tokens_dropped': 1,
'score': '585476816288876545',
'tokens_matched': 1,
'typo_prefix_score': 0}}
looking deeper, document 2 has a keyword temp while document 1 doesnt, but shouldnt i not drop the token if i have prefix enabled on the document title?Fanis Tharropoulos
09/24/2025, 6:47 AMdrop_tokens_threshold , not prefix search. Prefix search is not treating the last word of the query as a whole word, and matching micro to microwave for example.