You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Amarnath Gupta <gu...@sdsc.edu> on 2007/10/03 15:12:21 UTC

Boolean Queries in Nutch

I am new to Nutch. We just set up a Nutch indexing and search service,
and observed that the Boolean Search *always* uses AND regardless of the
actual query string. So the queries: 

 

Cheese AND pizza

Cheese OR pizza

Cheese NOT pizza

NOT(cheese) OR pizza

 

all produce the same result, namely cheese AND pizza. From the
documentation, I understand that AND search is the default mode in
Nutch, but no other Boolean operator seems to have any effect. Am I
missing some configuration?

 

Amarnath


Re: Boolean Queries in Nutch

Posted by Doğacan Güney <do...@gmail.com>.
Hi,

On 10/3/07, Amarnath Gupta <gu...@sdsc.edu> wrote:
> I am new to Nutch. We just set up a Nutch indexing and search service,
> and observed that the Boolean Search *always* uses AND regardless of the
> actual query string. So the queries:
>
>
>
> Cheese AND pizza
>
> Cheese OR pizza
>
> Cheese NOT pizza
>
> NOT(cheese) OR pizza
>
>
>
> all produce the same result, namely cheese AND pizza. From the
> documentation, I understand that AND search is the default mode in
> Nutch, but no other Boolean operator seems to have any effect. Am I
> missing some configuration?

Currently, AND is not the default mode, it is the only mode :).
Support for OR queries are being discussed in NUTCH-479 (
https://issues.apache.org/jira/browse/NUTCH-479 ). But it is not
committed yet.

>
>
>
> Amarnath
>
>


-- 
Doğacan Güney