Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 10976 invoked from network); 8 Mar 2005 14:19:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Mar 2005 14:19:00 -0000 Received: (qmail 98134 invoked by uid 500); 8 Mar 2005 14:18:54 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 98114 invoked by uid 500); 8 Mar 2005 14:18:54 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 98100 invoked by uid 99); 8 Mar 2005 14:18:54 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.tanto.de (HELO mail.tanto.de) (213.61.178.43) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Mar 2005 06:18:52 -0800 Received: from localhost (localhost [127.0.0.1]) by mail.tanto.de (Postfix) with ESMTP id A0B1923CE1 for ; Tue, 8 Mar 2005 15:19:00 +0100 (CET) Received: from mail.tanto.de ([127.0.0.1]) by localhost (mail.tanto.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31696-10 for ; Tue, 8 Mar 2005 15:19:00 +0100 (CET) Received: from tucholsky.office.tanto.de (tucholsky.office.tanto.de [10.0.0.35]) by mail.tanto.de (Postfix) with ESMTP id 85A6A23BF5 for ; Tue, 8 Mar 2005 15:19:00 +0100 (CET) Received: from tucholsky.office.tanto.de (morus@localhost [127.0.0.1]) by tucholsky.office.tanto.de (8.12.3/8.12.3/Debian-7.1) with ESMTP id j28EKI72028333 for ; Tue, 8 Mar 2005 15:20:18 +0100 Received: (from morus@localhost) by tucholsky.office.tanto.de (8.12.3/8.12.3/Debian-7.1) id j28EKIQV028329; Tue, 8 Mar 2005 15:20:18 +0100 From: Morus Walter MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <16941.46242.773831.529161@tanto-xipolis.de> Date: Tue, 8 Mar 2005 15:20:18 +0100 To: java-user@lucene.apache.org Subject: Re: QueryParser refactoring In-Reply-To: <200503081508.00541.daniel.naber@t-online.de> References: <16941.29325.935944.415129@tanto-xipolis.de> <6a2448ceb8e385ad4505470dd6037290@ehatchersolutions.com> <200503081508.00541.daniel.naber@t-online.de> X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid X-Virus-Scanned: by amavisd-new at mail.tanto.de Q&A postmaster@tanto.de X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Daniel Naber writes: > On Tuesday 08 March 2005 14:46, Erik Hatcher wrote: >=20 > > > Right. `a AND (NOT b)' =A0parses to `a' > > > > Is this what we want to happen for a general purpose next generatio= n > > Lucene QueryParser though? =A0I'm not sure. =A0Perhaps this should = be a > > ParseException instead? >=20 > As we have no concept of a "warning" we should indeed prefer to throw= an=20 > exception instead of silently modifying the query in ways the users d= on't=20 > expect. >=20 Shouldn't that imply that search itself also throws an exception if it has to execute such a query? AFAIK silently ignoring that query is what is currently happening durin= g=20 search. Morus --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org