Hello everyone! I am trying to implement a new fea...
# community-help
r
Hello everyone! I am trying to implement a new feature, which is something like: If the main TS query doesn't find any document, then another TS query need to find at least one matching term for the same search text. Then app will display Did you mean "XXXXX" To achieve this, I am using type but sometimes it is return empty result. I need some or headup or tips for this implementation thanks in advance
I am using num_typos: 5 but TS allow only 2 typo in a word
j
You want to look into the drop_tokens_threshold and typo_tokens_threshold
And then look at the highlights in the first hit returned to generate the "Did you mean "XXX" prompt in the UI