#community-help

Understanding Search Configuration for "GBV" Query

TLDR gab had issues with search configuration for "GBV" query. They found the related answer and Yoann provided additional context on the investigation.

Powered by Struct AI
heavy_plus_sign1
3
3mo
Solved
Join the chat
Jun 14, 2023 (3 months ago)
gab
Photo of md5-8be2a24edf7a95c9c74abce4b1130c3e
gab
04:18 PM
Hi,
I have a collection field "Brasserie du GBDV",
I cannot understand how I should configure the search so this search would match it: "GBV",
As for now:
"GB" : find it
"GBV" : do not find
"GBVD": find it

I tried to use the num_typos option to it would allow 2 typos but it seems it doesn't count this way.

Could you please help me understand it ?

My guess was "GBV" would be 1 typo and so it would find it,

{ "query_by": "name", "num_typos": "2", "collection": "warehouses", "q": "GBV", }

Thanks
Jun 15, 2023 (3 months ago)
Yoann
Photo of md5-949f018f94fc2432eeec74b4c51e0aaa
Yoann
07:58 AM
Related, and Kishore saying that they were investigating https://typesense-community.slack.com/archives/C01P749MET0/p1685693123475309