Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matchAnyQueryToken doesn't appear to work? #219

Open
whicks1 opened this issue Apr 17, 2020 · 0 comments
Open

matchAnyQueryToken doesn't appear to work? #219

whicks1 opened this issue Apr 17, 2020 · 0 comments

Comments

@whicks1
Copy link

whicks1 commented Apr 17, 2020

Been a long time since matchAnyQueryToken was added, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant