Resolving Search Parameter Issues in Endpoint
TLDR Julian had issues with endpoint search parameters not returning expected results. Jason and Kishore Nallan suggested using
max_candidates=1000 respectively, which resolved the issue.
Jan 26, 2023 (11 months ago)
What do you recommend me to check in this case? When the search term is zp9Sis, I’m expecting to match with strings like zp9Sis-230123-001, zp9Sis-230123-011 and zp9Sis-230123-021 (the last three are a serial number). But, currently only some of them appear (10), except when the search is more precise, like zp9Sis-230123-00. I’m hitting this endpoint with these URL params:
I even added the - to the symbols_to_index search param. Thanks in advance.
exhaustive_search=trueas a search parameter and try again?
Jan 27, 2023 (11 months ago)
Kishore Nallan06:15 AM
max_candidatesparam. This directly controls the number of unique words to be used as candidates for search when there are multiple words that share the same prefix. Set this to a higher value like
exhaustive_searchcan be more expensive because it increases a bunch of other limits including
max_candidatesand you probably don't need that here.
Indexed 3015 threads (79% resolved)
Understanding Search Result Variations with Filtering Parameters
SamHendley faced inconsistencies in the number of documents returned when adding more filter parameters. Jason explained it's due to Typesense limiting the number of variables checked for better performance. Increasing `max_candidates` or enabling `exhaustive_search` can help obtain all values.
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.
Issue with 'max_candidates' in Prefix Search
Edward reported inconsistent search results when using prefix 'EXAM'. Kishore Nallan suggested using `max_candidates` and `exhaustive_search` parameters. However, `max_candidates` did not work as expected, and needs further investigation.