Is there anyway to make a keyword search not fuzzy...
# suitecommerce
g
Is there anyway to make a keyword search not fuzzy. For example, a search for a sku 123456 will return 123457, 223456 etc… I would have though the keyword search would have been exact.
s
👀 ... just set it to "exact"?
g
In this instance I have a field like: 123456,246793,26758 so an exact search wouldn’t match.
s
bwah
The value of the SKU field is exactly "123456,246793,26758" ?
g
Context: I have a field with alternative skus/oems from multiple manufactures. It seems the keyword search is fuzzy and people are complaining that what should return 1 result returns 100.
s
I see, so you probably want something like "Contains exact"
g
Does that exist?
s
netsuite
No
g
or, keyword + fuzzy keyword.
it seems keyword and fuzzy do the same thing.
s
No
I think keyword is probably your best bet
If you have a fuzzy matcher in your search fields I would probably remove it for that field
g
I guess I’ll tell them “tough”.
I’ve removed all the fuzzy stuff.
s
Fuzzy checks for spelling mistakes, which probably won't be necessary for ID numbers / SKUs
Keyword is like "contains" but I honestly don't know if it does substring checking
eg "big red ball" - red would match
but "big,red,ball" - I don't know if red would match
g
it seems to be fuzzy. I’ll re-index the site. it seems like it will also match bit, fed and hall.
s
Yeah I would generally avoid fuzzy or, at least, do what I have done here and put it at the bottom
g
There wasn’t anything fuzzy in there. Just keyword searches.
s
I don't see how 123456 could match 123457 then. You haven't mentioned 123456 in another field (eg description)?
g
I have not. But it does.
Hold the phone. I have a “starts with”. I think that’s what’s going on. Must be losing my mind.
👀 1