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

implement exact phrase matching using quotes #2

Open
dlee opened this issue Mar 27, 2014 · 3 comments
Open

implement exact phrase matching using quotes #2

dlee opened this issue Mar 27, 2014 · 3 comments

Comments

@dlee
Copy link

dlee commented Mar 27, 2014

If I search for American badger, I want results that contain American and badger anywhere.

If I search for "American badger", I want results that only contain the exact phrase American badger.

@yathit
Copy link
Owner

yathit commented Mar 27, 2014

I though it was already implemented.

@dlee
Copy link
Author

dlee commented Mar 27, 2014

According to my tests, double quotes enforce exact matching for a single word, but not phrase matching. I can do "American" badger and it will find badgers but not Americana. However, enclosing the whole phrase in double quotes will behave like it didn't have double quotes at all.

@yathit
Copy link
Owner

yathit commented Mar 28, 2014

Oh yes, I see. Push this issue into TODO.

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

No branches or pull requests

2 participants