opensubscriber
   Find in this group all groups
 
Unknown more information…

j : java-user@lucene.apache.org 8 March 2005 • 10:08PM -0500

Re: QueryParser refactoring
by Daniel Naber

REPLY TO AUTHOR
 
REPLY TO GROUP




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@luce...
For additional commands, e-mail: java-user-help@luce...

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.