Incorrect Search Results for "Orange Wireless Charger"
TLDR Rocky has an issue where irrelevant results are returned in searches. Jason suggests adjusting drop_tokens_threshold
, but the issue persists.
May 16, 2023 (7 months ago)
Rocky
12:09 AMbelow is one example not exact
[highlight] => Array ( [item_color] => Array ( [matched_tokens] => Array ( [0] => Orange )
[snippet] => <mark>Orange</mark> )
[material] => Array ( [matched_tokens] => Array ( [0] => C )
[snippet] => Cotton <mark>C</mark>hino Twill )
[product] => Array ( [matched_tokens] => Array ( [0] => C )
[snippet] => <mark>C</mark>hino Twill Value Visor )
)
Jason
12:19 AMIf you want to disable this behavior you want to set
drop_tokens_threshold
to 0
.May 17, 2023 (7 months ago)
Rocky
12:36 AMthanks for help! I tried to set
drop_tokens_threshold
to 0, but the result is same. "orange wireless charger"[highlight] => Array ( [item_color] => Array ( [matched_tokens] => Array ( [0] => Orange )
[snippet] => <mark>Orange</mark> )
[material] => Array ( [matched_tokens] => Array ( [0] => C )
[snippet] => Cotton <mark>C</mark>hino Twill )
[product] => Array ( [matched_tokens] => Array ( [0] => C )
[snippet] => <mark>C</mark>hino Twill Value Visor )
)
Jason
03:18 AMTypesense
Indexed 3011 threads (79% resolved)
Similar Threads
Resolving Typesense Result Issue in Document Collection Queries
Mike was encountering errors when searching for specific query in their Typesense document collection. Jason suggested it may be due to the `drop_tokens_threshold` setting. There was a misunderstanding but after further explanation from Jason, Mike understood and decided to continue the conversation via email.
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.
Querying and Indexing Multiple Elements Issues
Krish queried fields with multiple elements, which Kishore Nallan suggested checking `drop_tokens_threshold`. Krish wished to force OR mode for token, but Kishore Nallan admitted the feature was missing. Krish was able to resolve the issue with url encoding.