You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm having trouble configuring/understanding the typo tolerance setting disableOnAttributes. Not sure if this is a bug or just behavior that I don't understand.
When limiting the searchable attributes to attr1 and disabling typo tolerance on attr1, the results change as expected.
Searching for Meilisearch => 2 hits.
Searching for Meilisearcx => 0 hits.
Now I add attr2 to searchable attributes and disable typo tolerance on attr2 as well.
But when searching for Meilisearcx, I would have expected to get no results. Instead, I get one hit, although typo tolerance is disabled on attr1 and attr2:
Hello @Florian86,
Indeed, it's a bug,
I reproduced the bug on v1.5.0 and v1.5.1.
However, the bug doesn't seem to appear on the main branch (future v1.6.0).
So this bug should be fixed in the next release (v1.6.0).
Hey, I'm having trouble configuring/understanding the typo tolerance setting
disableOnAttributes
. Not sure if this is a bug or just behavior that I don't understand.I added the following documents:
With default configuration I see the following result when searching for
Meilisearch
:Searching for
Meilisearcx
results in:Everything as expected so far.
When limiting the searchable attributes to
attr1
and disabling typo tolerance onattr1
, the results change as expected.Searching for
Meilisearch
=> 2 hits.Searching for
Meilisearcx
=> 0 hits.Now I add
attr2
to searchable attributes and disable typo tolerance onattr2
as well.Searching for
Meilisearch
=> 2 hits, as expected.But when searching for
Meilisearcx
, I would have expected to get no results. Instead, I get one hit, although typo tolerance is disabled onattr1
andattr2
:When changing the documents to:
I do not get any results, as I would expect.
So in short: Disabling typo tolerance on two attributes that have similar content does not seem to work.
Meilisearch version: v1.5.1
The text was updated successfully, but these errors were encountered: