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
const FlexSearch = require("[email protected]")
const index = new FlexSearch.Index({
encode: "simple",
});
index.add(0, "Lorem ipsum dolor sit amet.");
The "Index Options" section in the README.md has this as Values for
encode
Option:Reading this, I thought that we can set
false
, one of the strings, or a function as theencode
option.However, setting
false
worked, but setting strings didn't work.I tried this code on RunKit:
This resulted in an error:
The text was updated successfully, but these errors were encountered: