codeforamerica / rva-screening

Health service prescreener for sharing patient eligibility data.
http://quickscreenrva.com
BSD 3-Clause "New" or "Revised" License
11 stars 8 forks source link

Update search #268

Closed mapsam closed 8 years ago

mapsam commented 8 years ago

In response to some tests in October, the search on the homepage was too pedantic and didn't return truly "fuzzy" results. We didn't have an ability to change the search threshold using Defiant.js so looking at a new library, Fuse.js, we are able to render our search results in a ranking order, rather than a perfect match. Results are not based on complete string matching, but are based on a full Bitap implementation.

This PR: