Replies: 2 comments
-
I looks like the default encoder inherited from the preset wasn't applied properly. I will investigate this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe a lil late now but I updated to And this is not an issue anymore. I just do this now. It's pretty good. const index = new FlexSearch.Index({ tokenize: 'full' });
// data.forEach((item) => index.add(item));
data.forEach((_doc, i) => {
const _docIndex = JSON.stringify(_doc);
index.add(i, _docIndex);
});
return index; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Example: "cafely" doesn't match with "Cafe.ly"
My config:
Beta Was this translation helpful? Give feedback.
All reactions