lucaong / react-minisearch

React integration for the MiniSearch client side full-text search library
MIT License
48 stars 8 forks source link

Add removeAll function #9

Closed alessandrobardini closed 4 years ago

alessandrobardini commented 4 years ago

Hi Luca,

I added the removeAll function to react-minisearch: it's simply a wrapper around the MiniSearch removeAll function and, as the original function, it can be called with an array of documents (to delete only those) or with no arguments (to delete all).

BTW, react-minisearch is great, I love it :)