krisk / Fuse

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

Allow search restriction in query, like github search (<field>:<subquery>) #704

Closed m42e closed 1 year ago

m42e commented 1 year ago

Description

Limit the search of tokens to fields.

Describe the solution you'd like

If the query contains an element like: title:old the search for old should be limited to the field with the key 'title'. Addtitionally, the configuration for the keys should have a possibility to assign a shortname to the key.

Describe alternatives you've considered

github-actions[bot] commented 1 year ago

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