Closed petebacondarwin closed 7 years ago
I didn't mean to modify lunr.js
but running make test
does so.
If you don't want it to be committed I can change that, but perhaps it would be good to add it to gitignore in that case.
@petebacondarwin in general the build process could do with modernising, but for now, just remove the change to lunr.js and we should be good to go.
Voila!
Nice! I've merged this, will generate a release later today. Thanks for taking a look at this, much appreciated!
Previously terms that collided with standard Object properties we breaking the calculation of frequencies - leading to NaN scores for queries.
Fixes #280