Improve search findings

Improve search findings

  • Include fuzzy search: this would help with typos (search “btwardne” would find “bitwarden”)
  • Support accented characters counterparts: “a” would match also any of “ãäåáà” (including the other characters that can have accents), this would help for Latin based languages (and some others)

Both of these improvements are common in the wild.

I see that you’re using lunr.js for the search and they don’t seem to support either :upside_down_face:

I’ll check what is possible to do there.

lunr won’t add that accented characters feature (lunr.js #269) but there’s a possible plugin that adds that feature unicode-normalizer.

If you’re open to this, I could make a merge request.