Return-Path: Delivered-To: apmail-jakarta-lucene-dev-archive@www.apache.org Received: (qmail 66868 invoked from network); 9 Feb 2004 12:09:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Feb 2004 12:09:39 -0000 Received: (qmail 68102 invoked by uid 500); 9 Feb 2004 12:09:32 -0000 Delivered-To: apmail-jakarta-lucene-dev-archive@jakarta.apache.org Received: (qmail 68076 invoked by uid 500); 9 Feb 2004 12:09:31 -0000 Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Lucene Developers List" Reply-To: "Lucene Developers List" Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 68051 invoked from network); 9 Feb 2004 12:09:31 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 9 Feb 2004 12:09:31 -0000 Received: (qmail 1689 invoked by uid 50); 9 Feb 2004 12:09:49 -0000 Date: 9 Feb 2004 12:09:49 -0000 Message-ID: <20040209120949.1688.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: lucene-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 14665] - QueryParser incorrectly escapes special characters in term names X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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