lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcelo Ohashi <oha...@summa-tech.com>
Subject Re: BooleanQuery
Date Thu, 07 Dec 2006 17:26:36 GMT
Thanks for your help guy. I'll test that query parser.

Marcelo

On Dec 6, 2006, at 11:37 PM, Renaud Waldura wrote:

> Read my own complaints about QueryParser here:
>
> http://marc.theaimsgroup.com/?l=lucene-user&m=116069469827270&w=2
>
> You're in for a surprise. As alluded by Erick, the stock QP doesn't  
> quite do
> what one (legitimately IMO) expects.
>
> --Renaud
>
>
> -----Original Message-----
> From: Erick Erickson [mailto:erickerickson@gmail.com]
> Sent: Wednesday, December 06, 2006 11:56 AM
> To: java-user@lucene.apache.org
> Subject: Re: BooleanQuery
>
> 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
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message