Search Query Issues in Typesense
TLDR Gines wanted search results in Typesense for partial matches, not just exact ones. Kishore Nallan suggested solutions, but none fulfilled Gines's requirements.
Oct 17, 2022 (12 months ago)
What I need to do with typesense is to search for all the results that contain some of the words... For example:
I am searching for "red electric car" and typesense only returns results that contains these three words, but I would like it to return results for "red car" and "electric car" as well, is that possible?
Kishore Nallan09:00 AM
exhaustive_search: true? But it will be a much more expensive query to run.
I have these parameters:
'query_by' => "Name,Description", 'q' => "red electric car", 'per_page' => 20, 'page' => 1, 'exhaustive_search' => true, 'prioritize_exact_match' => true, 'max_candidates' => 1000
Kishore Nallan09:08 AM
ORof the search keywords. So I am trying to see if there is a work around here.... Can you try sending
drop_tokens_threshold: 10000? This will force Typesense to keep dropping tokens from the query until
10000results are found and will indirectly result in individual tokens being queried.
Kishore Nallan09:19 AM
Indexed 2779 threads (79% resolved)
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.
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.