matsud224 / satyrographos-package-index-v2

https://satyrographos-packages.netlify.app/
Other
7 stars 0 forks source link

Character '-' is treated as a term presence indicator #10

Closed matsud224 closed 3 years ago

matsud224 commented 3 years ago

Search query "-foo" implies "packages which is not matched to foo" in lunr. (c.f. https://lunrjs.com/guides/searching.html)

This behavior is not appropriate because SATySFi allows an identifier that contains '-'.

matsud224 commented 3 years ago

This problem was fixed by replacing lunr with js-search.