Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 86702 invoked from network); 18 Nov 2006 19:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Nov 2006 19:36:07 -0000 Received: (qmail 68360 invoked by uid 500); 18 Nov 2006 19:36:10 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 68315 invoked by uid 500); 18 Nov 2006 19:36:10 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 68304 invoked by uid 99); 18 Nov 2006 19:36:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Nov 2006 11:36:10 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Nov 2006 11:35:59 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A555B71430D for ; Sat, 18 Nov 2006 11:35:39 -0800 (PST) Message-ID: <1365376.1163878539674.JavaMail.jira@brutus> Date: Sat, 18 Nov 2006 11:35:39 -0800 (PST) From: "Yonik Seeley (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Resolved: (LUCENE-573) Escaped quotes inside a phrase cause a ParseException In-Reply-To: <15340905.1148010095507.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/LUCENE-573?page=all ] Yonik Seeley resolved LUCENE-573. --------------------------------- Resolution: Fixed Looks good, and I just committed this. Thanks Michael! > Escaped quotes inside a phrase cause a ParseException > ----------------------------------------------------- > > Key: LUCENE-573 > URL: http://issues.apache.org/jira/browse/LUCENE-573 > Project: Lucene - Java > Issue Type: Bug > Components: QueryParser > Affects Versions: 1.9 > Environment: Debian Sarge, Sun JDK 1.4.2 > Reporter: Tomislav Gountchev > Assigned To: Michael Busch > Priority: Minor > Attachments: LUCENE-573_new.patch > > > QueryParser cannot handle escaped quotes when inside a phrase. Escaped quotes not in a phrase are not a problem. This can be added to TestQueryParser.testEscaped() to demonstrate the issue - the second assert throws an exception: > assertQueryEquals("a \\\"b c\\\" d", a, "a \"b c\" d"); > assertQueryEquals("\"a \\\"b c\\\" d\"", a, "\"a \"b c\" d\""); > See also this thread: > http://www.nabble.com/ParseException-with-escaped-quotes-in-a-phrase-t1647115.html -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org