lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Keegan" <peterlkee...@gmail.com>
Subject Re: bad queryparser bug
Date Fri, 02 Feb 2007 13:37:40 GMT
> (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 <hossman_lucene@fucit.org> 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: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message