dijs / wiki

Wikipedia Interface for Node.js
MIT License
313 stars 62 forks source link

Adds prefixsearch "best match" functionality similar to Wikipedia homepage search #116

Closed hacknightly closed 5 years ago

hacknightly commented 5 years ago

Hello! 👋 This PR introduces the ability to perform "fuzzy" searching similar to the search functionality on the Wikipedia homepage. I was unable to reproduce this type of search via Wiki#search as fuzzy search explicitly requires setting the list: 'prefixsearch' and psprofile: 'fuzzy' params.

*Also looks like prettier.js went through and tidied some things up. Let me know if this isn't preferred

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.06%) to 96.552% when pulling c1758a4ed11cb8c1fff775f818de65b880d43219 on hacknightly:feature/add-fuzzy-search into e7dd91a92ec54dfde07b34e2461b9a21f22cc943 on dijs:master.

dijs commented 5 years ago

Published in v5.2.0