Optimizing Search Results with Typesense
TLDR em1nos asked for a way to get exact match results first in Typesense. Jason answered, recommending the use of a scoring system that factors in string length.
1
Sep 16, 2022 (15 months ago)
em1nos
07:10 PMJason
07:35 PMI’d recommend using a score of some sort that does take string length into account in the formula, add that to each record and then sort by that to account for this
em1nos
07:36 PM1
Typesense
Indexed 3005 threads (79% resolved)
Similar Threads
Adjusting Text Match Score Calculation in TypeSense
Johannes wanted to modify the Text Match Score calculation in TypeSense to improve search results returns. With counsel from Jason and Kishore Nallan, various solutions were proposed, including creating a Github issue, attempting different parameters, and updating Docker to a new version to resolve the matter.
Resolving Typesense Query Issues
Todd had queries regarding Typesense operation. Jason clarified Typesense's default behavior and provided a recommendation to enhance results ranking based on relevance and recency.
Typesense Performance with Large Datasets & Custom Sort
krok inquires about Typesense's performance on large datasets and custom sorting. Kishore Nallan explains that Typesense is optimized for this scenario using pagination and text relevance.