lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14665] - QueryParser incorrectly escapes special characters in term names
Date Mon, 09 Feb 2004 12:09:49 GMT
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


Mime
View raw message