(If i could go back in time and stop the AND/OR/NOT/&&/|| "aliases" from being added to the QueryParser -- i would)
Yes, this is the cause of the confusion. Our users are accustomed to the boolean logic syntax from a legacy search engine (also common to many other engines). We'll have to convert them into native QueryParser syntax as possible. Sorry for the cross post. Thanks, Peter On 2/2/07, Chris Hostetter <[EMAIL PROTECTED]> wrote:
: The query parser produces the correct query with the parenthesis. : But, I'm still looking for a fix for this. I could use some advice on where : to look in QueryParser to fix this. the best advice i can give you: don't use the binary operators. * Lucene is not a boolean logic system * BooleanQuery does not impliment boolean logic * QueryParser is not a boolean language parser (If i could go back in time and stop the AND/OR/NOT/&&/|| "aliases" from being added to the QueryParser -- i would) -Hoss --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]