lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: BooleanQuery
Date Wed, 06 Dec 2006 19:55:30 GMT
These are not boolean operators, which is often confusing. See the thread

"*Another problem with the QueryParser*"

for an exposition by Chris about how these operate. This may change what you
expect to come back from the parser... If it doesn't, then maybe someone
else can chime in <G>...

Erick

On 12/6/06, Marcelo Ohashi <ohashi@summa-tech.com> wrote:
>
> Hi,
>
>         Does anyone know if lucene can handle complex boolean queries like
> the following ones?
>
> 1. T: (A OR NOT B)
> 2. (T:A AND NOT T:B) OR NOT T:C
>
>         Cause I figured out in some tests that the results were not really
> what I expected.
>
> Thanks in advance,
>
> _____________
> Marcelo Ohashi
>
>
>
> ---------------------------------------------------------------------
> 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