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.
Sep 19, 2023 (2 weeks ago)
best_field_scorefield, but I can't see one telling me which field was the best?
Kishore Nallan12:47 PM
Kishore Nallan12:48 PM
Kishore Nallan12:50 PM
Indexed 2786 threads (79% resolved)
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.