From java-dev-return-16369-apmail-lucene-java-dev-archive=lucene.apache.org@lucene.apache.org Wed Nov 01 17:40:59 2006 Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 92822 invoked from network); 1 Nov 2006 17:40:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Nov 2006 17:40:58 -0000 Received: (qmail 93206 invoked by uid 500); 1 Nov 2006 17:40:51 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 93165 invoked by uid 500); 1 Nov 2006 17:40:51 -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 93132 invoked by uid 99); 1 Nov 2006 17:40:51 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Nov 2006 09:40:51 -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; Wed, 01 Nov 2006 09:40:39 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 319A37142C1 for ; Wed, 1 Nov 2006 09:40:19 -0800 (PST) Message-ID: <31435794.1162402819200.JavaMail.root@brutus> Date: Wed, 1 Nov 2006 09:40:19 -0800 (PST) From: "Steven Parkes (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-372) Unmatched right parentheses truncates query 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-372?page=all ] Steven Parkes updated LUCENE-372: --------------------------------- Attachment: LUCENE-372.patch.txt Somehow the patch got some extra line feeds in some of the javacc created files. This version takes those out. > Unmatched right parentheses truncates query > ------------------------------------------- > > Key: LUCENE-372 > URL: http://issues.apache.org/jira/browse/LUCENE-372 > Project: Lucene - Java > Issue Type: Bug > Components: QueryParser > Affects Versions: 1.4, 2.0.0, 1.9, 2.0.1, 2.1 > Environment: Operating System: Linux > Platform: PC > Reporter: Patrick Hochstenbach > Assigned To: Lucene Developers > Fix For: 2.1 > > Attachments: Lucene-372.patch, LUCENE-372.patch.txt > > > The query processor truncates a query when right parentheses are unmatched. > E.g.: > secret AND illegal) AND access:confidential > will not result in a ParseException instead will run as: > secret AND illegal -- 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