Slackbot
11/08/2023, 11:35 PMJason Bosco
11/09/2023, 12:50 AMmax_candidates is technically unrelated to typo toleranceJason Bosco
11/09/2023, 12:51 AMNarayan Acharya
11/09/2023, 12:59 AMmax_candidates says “Control the number of words that Typesense considers for typo and prefix searching .”
Say if I have a query “tastes blanf” and max_candidates is set to 1 then I would expect “blanf” to be considered for typo and any documents with “bland” will be considered hits. If max_candidates is set to 0 then “blanf” is not considered for typo and documents with “bland” will not be considered for typos.
num_typos says “Maximum number of typographical errors (0, 1 or 2) that would be tolerated.“. Does this refer to the number of characters that are allowed to be different in all the tokens or the number of words allowed to have 1 or 2 character typos? I say 1 or 2 only because I see only min_len_1typo and min_len_2typo as possible delta allowed in edit distance.Kishore Nallan
11/09/2023, 1:28 AMNarayan Acharya
11/09/2023, 1:47 AMKishore Nallan
11/09/2023, 1:52 AMNarayan Acharya
11/09/2023, 2:00 AMalpha, alpa, alkha in our documents then we will only match for alpha the original word and alpa. alkha will be ignored because we are allowing only 1 candidate to be considered. Is my understanding correct?Kishore Nallan
11/09/2023, 2:26 AMNarayan Acharya
11/09/2023, 2:27 AMKishore Nallan
11/09/2023, 2:29 AMKishore Nallan
11/09/2023, 2:30 AMAkash Kumar
11/09/2023, 12:56 PMKishore Nallan
11/10/2023, 9:13 AM