krisk / Fuse

Lightweight fuzzy-search, in JavaScript
https://fusejs.io/
Apache License 2.0
18.1k stars 766 forks source link

Update the search without resubmitting the search query #278

Closed steve-cahn closed 4 years ago

steve-cahn commented 5 years ago

Is there a way to update the search results? For example, calling fuseSearch.update();

The benefit of that, is when an option gets changed, such as fuzeSearch.options.keys = ['anotherKey'], then the search result updates automatically.

heyimalex commented 5 years ago

This doesn't make sense to me: Fuse is purely pull-based so you always need to call search to get results. There is no "update automatically".

github-actions[bot] commented 4 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days