You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/02/09 13:09:49 UTC

DO NOT REPLY [Bug 14665] - QueryParser incorrectly escapes special characters in term names

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14665>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14665

QueryParser incorrectly escapes special characters in term names





------- Additional Comments From halleux.jf@skynet.be  2004-02-09 12:09 -------
I believe that a possible cause of the escaping issues can be traced to 
QueryParser.jj where a field is taken out of the image of a token of type 
field. The image, however, still contains the escaping character that needs to 
be filtered out.

I attach a proposed patch, that will however generate one extra string.

KR,

Jean-Francois Halleux

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org