#random

Setting Up Synonyms for Misspelled Brands

TLDR Henrik had trouble setting up a synonym for a misspelled brand. Kishore Nallan suggested making 'hey' the root to match 'hay', resolving the issue.

Powered by Struct AI
3
5mo
Solved
Join the chat
Apr 24, 2023 (5 months ago)
Henrik
Photo of md5-a715f0eacaf8607178e6f8ac62c432f0
Henrik
08:40 AM
Hi Guys.
I'm brand new to the community - so sorry if my question here in the lounge is misplaced.
I'm have a test setup on typesense cloud.
One of the faceted properties is "Brand" and there is a brand called "Hay" which is often misspelled as "hey"
I've tried to setup a synonym as this:
Root: Hay
Synonym: hey

But after that setup I still get zero results when searching for 'hey'
Am I using the feature wrong?
I'm querying by productName, brandName, description and the word "Hay" is present is all three of those properties.
Image 1 for Hi Guys.
I'm brand new to the community - so sorry if my question here in the lounge is misplaced.
I'm have a test setup on typesense cloud.
One of the faceted properties is "Brand" and there is a brand called "Hay" which is often misspelled as "hey"
I've tried to setup a synonym as this:
Root: Hay
Synonym: hey

But after that setup I still get zero results when searching for 'hey'
Am I using the feature wrong?
I'm querying by productName, brandName, description and the word "Hay" is present is all three of those properties.Image 2 for Hi Guys.
I'm brand new to the community - so sorry if my question here in the lounge is misplaced.
I'm have a test setup on typesense cloud.
One of the faceted properties is "Brand" and there is a brand called "Hay" which is often misspelled as "hey"
I've tried to setup a synonym as this:
Root: Hay
Synonym: hey

But after that setup I still get zero results when searching for 'hey'
Am I using the feature wrong?
I'm querying by productName, brandName, description and the word "Hay" is present is all three of those properties.
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
08:45 AM
hey should be the root if you want hey to match hay
Henrik
Photo of md5-a715f0eacaf8607178e6f8ac62c432f0
Henrik
09:18 AM
it works - thank you. :-)
What about case sensitivity?
Do I have to create 2 entries in synonyms
Hay hey
hay hey