You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2022/10/26 18:28:36 UTC

[GitHub] [lucenenet] NightOwl888 commented on issue #723: QueryParserBase.Escape does not escape = sign, but values with = cause a syntax error

NightOwl888 commented on issue #723:
URL: https://github.com/apache/lucenenet/issues/723#issuecomment-1292436296

   If there is, the Lucene team would have the answer. However, even in the latest version, they [still escape the same characters](https://github.com/apache/lucene/blob/54fba99cb131c7414caf2c21b52aa990ac17db3e/lucene/queryparser/src/java/org/apache/lucene/queryparser/classic/QueryParserBase.java#L978-L980).
   
   Of course, if you need to change the syntax, you can use the flexible parser, which wires up all of the defaults the same as Classic query parser, but allows you to [override the EscapeQuerySyntax](https://github.com/apache/lucenenet/blob/878dc64efbc3900b3c75239a9c9cca155b177def/src/Lucene.Net.QueryParser/Flexible/Standard/Parser/EscapeQuerySyntaxImpl.cs) among other things.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org