Closed naira-petrosyan-m closed 1 month ago
Additionally when I have this doc
{name: "customer.ionic"}
and I do search like this
search({
term: "customerionic",
tolerance: 2,
})
I expect to have my doc returned, but it does get returned
We plan this fix with next release (tomorrow).
Thanks for reporting this issue.
For the second question, Orama uses a tokenizer that split the string into token using space and punctuation. So "customer.ionic"
is split into ["customer", "ionic"]
.
You can customize it, reading the docs
Describe the bug
I have this docs:
When I search for "scrol" with typo tolerance of 1, I expect to have only one result "Scroll", instead I see both docs returned as results.
To Reproduce
Expected behavior
Get only one result "Scroll" instead of 2 results
Environment Info
Affected areas
Search
Additional context
No response