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

Searching for Multiple Terms #2

Open
groundh0g opened this issue Nov 11, 2018 · 0 comments
Open

Searching for Multiple Terms #2

groundh0g opened this issue Nov 11, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@groundh0g
Copy link
Owner

groundh0g commented Nov 11, 2018

Search is implemented to index the terms that appear in a document. Only unique, sorted terms are stored, separated by spaces. This works great for single-term searches and partial matches, but when searching for multiple terms, "my book" will never match since the indexed list of terms is stored as "... be book ... milk moo my ...".

Need to implement search as an ALL or ANY matcher, splitting the user-entered terms and searching for each in the index, one-by-one. I'm leaning towards the ANY matcher, but could be convinced otherwise. I might even be convinced to make it configurable.

@groundh0g groundh0g self-assigned this Nov 11, 2018
@groundh0g groundh0g added the enhancement New feature or request label Nov 11, 2018
@groundh0g groundh0g modified the milestone: v1.0.0 Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant