Identifying Best Match Field in Document Search
TLDR Jack wanted to display the best match field in a document search. Despite Kishore Nallan's suggestion of looking at field weights, Jack decided to sort highlighted fields by number of matched tokens.
1
Sep 19, 2023 (2 weeks ago)
Jack
12:46 PMbest_field_score
field, but I can't see one telling me which field was the best?Kishore Nallan
12:47 PMKishore Nallan
12:48 PMJack
12:48 PMJack
12:49 PMKishore Nallan
12:50 PMJack
12:52 PM1
Typesense
Indexed 2786 threads (79% resolved)
Similar Threads
Sorting Search Results Based on Weights
Pantelis wanted to sort search results by weight. Kishore Nallan suggested using "prioritize_exact_match: false" and "text_match_type: 'max_weight'" to achieve the desired result.
Issues With `text_match` Scoring for Search Queries in Typesense
Colin encountered issues with the `text_match` scoring on Typesense v0.23.1. Jason and Kishore Nallan identified a potential issue with numeric overflow in the text match score and applied an unverified patch. The final resolution is unclear.
Prioritizing Multi-field Search Results in Java
suraj asks how to prioritize search results for multiple fields in Java. Kishore Nallan suggests using query by weights and provides Java client version `0.0.11-beta1` for Typesense.