corejavascript / corejavascript/typeahead.js
matchAnyQueryToken doesn't appear to work?
Open
- Dominant language
- JavaScript
- Stars
- 968
- Forks
- 231
- PR merge metrics
- No merged PRs in 30d
Description
Been a long time [since matchAnyQueryToken was added](https://github.com/corejavascript/typeahead.js/pull/2), but it doesn't seem to work as advertised. Given a dataset that contains entries such as:
```
{"t": "defense contracts"},...
{"t": "military policy"},
```
and a bloodhound config with `matchAnyQueryToken: true`
If a user searches `defense policy` in a typeahead.js or the developer implements a lookup in code via. `Bloodhound#search(...)`, either will results in 0 matches; 2 would be expected if I understand this option correctly.
Contributor guide
Assessment
This issue has not been assessed yet.