Closed robertsass closed 4 years ago
That's fair a flag. I designed this on purpose, since generating the index is completely different, and does not require weights (since weighting is applied at query time).
Nonetheless, it feels like I could just support this functionality, so people don't have to deal with different arg formats.
I will do this for the next release. Thanks!
Now in latest fuse.js@6.2.0
since weighting is applied at query time
So passing options
(including keys
) again as the second parameter to Fuse()
does not cause it to rebuild it's index but really uses the one I pass as third parameter?
Describe the bug
When trying to bring in
Fuse.createIndex()
it gives me this error:Version
6.0.4
Is this a regression?
Don't know.
🔬Minimal Reproduction
Additional context
Nothing to say. But yeah I love Fuse.js!!!