Threshold set to 0 not working as expected #750
Unanswered
naira-petrosyan-m
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am having trouble with understanding how threshold number works.
I have dataset like this:
[model: 'Account', title: 'Orama']
when I am trying
const results = await search(db, {
term: "account orama",
threshold: 0,
properties: ['model', 'title'],
});
this gives 0 results, but the documentation states that when that with threshold 0, the keywords can be found in different properties.
What is the correct behavior here?
Beta Was this translation helpful? Give feedback.
All reactions