-
Notifications
You must be signed in to change notification settings - Fork 517
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
Tag queries choke on certain punctuation #411
Comments
Probably related. If you do use non-syntax error producing punctuation in the queries, the query parser seemingly still tokenizes the tag:
I would expect the explain to be this instead of the
|
but why? all punctuations are tokenizing Kyle. escaping them needs double backslashes. There's no bug here AFAICT |
Glad that worked! Although we need to change the documentation now - the only place I'm seeing double escaping is on the Tokenization and Escaping page that specifically says it's only for text fields and says to look on the tag page for a description of how tagging tokenization/escaping works - no mention of double escaping there (only single). |
Clarifying double escaping on tag fields (#411)
According to the documentation:
Test schema and a couple documents
So, you can add documents with tag field values that contain punctuation, but you can't query them.
Seems to be choking at the [semi-]colons. Escaping doesn't work either:
Some punctuation seems to be OK.
Further testing:
Other punctuation seems to be all over the place as far as where the error is located.
The text was updated successfully, but these errors were encountered: