From lucene-user Tue Mar 08 14:08:00 2005 From: Daniel Naber Date: Tue, 08 Mar 2005 14:08:00 +0000 To: lucene-user Subject: Re: QueryParser refactoring Message-Id: <200503081508.00541.daniel.naber () t-online ! de> X-MARC-Message: https://marc.info/?l=lucene-user&m=111029088821273 On Tuesday 08 March 2005 14:46, Erik Hatcher wrote: > > Right. `a AND (NOT b)'  parses to `a' > > Is this what we want to happen for a general purpose next generation > Lucene QueryParser though?  I'm not sure.  Perhaps this should be a > ParseException instead? As we have no concept of a "warning" we should indeed prefer to throw an exception instead of silently modifying the query in ways the users don't expect. Regards Daniel --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org