-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unable to parse query with escaped characters #49
Comments
@jonnermut this should be fixed now. Thanks for reporting! |
Awesome, thanks! |
@ejsmith could you let me know if I am doing something wrong according to the Lucene syntax here?
Thank you |
Would you mind creating a new issue for this @InsomniumBR. The first one looks like it could be a bug, the last one I'm wondering how does that even compile. If you could add a pr or updates to the existing test in a snippet that would be a huge help. |
Hello @niemyjski, I'm a coworker of @InsomniumBR and was helping out with adding some tests based on the issues we were running into. Here is the PR that I created for that, thank you! |
ElasticSearch / Lucene allows escaping characters with a backslash:
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html
Feeding queries with backslashed characters in into a ElasticQueryParser them fails to parse with an exception. The same query string works when used in ElasticSearch directly. Test case below:
Project file:
QueryEscapingTest.zip
The text was updated successfully, but these errors were encountered: