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

Term presence mixed with fuzzy search on more than one keyword throws QueryParseError: Unexpected lexeme type 'PRESENCE' #369

Closed
mtdjr opened this issue Aug 15, 2018 · 3 comments

Comments

@mtdjr
Copy link

mtdjr commented Aug 15, 2018

screen shot 2018-08-14 at 10 08 10 pm

@mtdjr
Copy link
Author

mtdjr commented Aug 15, 2018

Looks like if the fuzzy search comes last, there isn't an issue.
screen shot 2018-08-15 at 12 35 40 pm

@olivernn
Copy link
Owner

Thanks for taking the time to report this. It turns out the bug affected both terms with edit distance and terms with a boost. To trigger it required a term with either edit distance or boost, followed by a term with a presence.

I've put together a fix and cut a new release 2.3.2.

@mtdjr
Copy link
Author

mtdjr commented Aug 15, 2018

Awesome! Thank you!

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

2 participants