krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
17.76k stars 753 forks source link

includeMatches param doesn't seem to work when creating the Fuse object with the Fuse index #694

Closed rachelrj closed 1 year ago

rachelrj commented 1 year ago

I create options with includeMatches: true and when I create the fuse object with const fuse = new Fuse(templates, options); the results contain the matches but when I create the fuse object with const fuse = new Fuse(books, options, myIndex) (same options with includesMatches set to true) the results do not contain the matches Is this expected behavior? If I use an index can I not get matches in the result?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days