Resolving TypeSense Query Query Confusion
TLDR Nelson didn't understand why a query for "hong kong" returned "singapore". Jason recommended changing a search parameter, then explained how TypeSense attempts to find results when exact matches aren't available. Kishore Nallan further clarified the issue and Jason and Kishore Nallan mentioned changes in the upcoming version to tackle this.
4
1
Sep 01, 2021 (29 months ago)
Nelson
07:51 PMJason
07:53 PMNelson
07:54 PMJason
07:55 PMNelson
07:56 PMNelson
07:59 PMJason
07:59 PMdrop_tokens_threshold: 0
to the search parameters and see what the result is after that?Nelson
08:00 PMNelson
08:03 PMJason
08:04 PMJason
08:05 PMJason
08:05 PMJason
08:06 PMNelson
08:06 PMNelson
08:06 PM1
Nelson
08:07 PMJason
08:07 PMNelson
08:08 PM1
Nelson
08:08 PMSep 02, 2021 (29 months ago)
Kishore Nallan
09:06 AMsing
is getting prefix-matched to kong
because they are within 2-typos away. In the next version of Typesense we've made the default typo correction less "eager" on such small terms to reduce false positives like this.1
bnfd
11:12 AMKishore Nallan
11:13 AM1
Kishore Nallan
11:13 AMCaptainCodeman
08:30 PMJason
08:31 PM1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
Issues with Repeated Words and Hyphen Queries in Typesense API
JinW discusses issues with repeated word queries and hyphen-containing queries in Typesense. Kishore Nallan offers possible solutions. During the discussion, Mr seeks advice on `token_separators` and how to send custom headers. Issues remain with repeated word queries.
Resolving Typesense Search Issues
Conversation started by Maximilian about Typesense search behavior led to Users Kishore Nallan and Mike discussing and suggesting workaround, with Kishore Nallan promising an official solution soon. No final confirmation of resolution provided.
Phrase Search Relevancy and Weights Fix
Jan reported an issue with phrase search relevancy using Typesense Instantsearch Adapter. The problem occurred when searching phrases with double quotes. The team identified the issue to be related to weights and implemented a fix, improving the search results.
Troubleshooting "drop_tokens_threshold" and Typo Tolerance in Typesense
Joe had issues with "drop_tokens_threshold" = 0 and typo tolerance in Typesense, after which Kishore Nallan provided solutions and clarifications on feature functionality. Their issues with the search result limit and tokens were resolved after discussion and testing.
Array Field Autocomplete Issue in Typesense Migration
Kanwei encountered issues with autocomplete when migrating from Elasticsearch to Typesense. Jason and Kishore Nallan identified it as a bug and instructed Kanwei to create a GitHub issue.