lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javier muguruza <jmugur...@gmail.com>
Subject Re: all stop words in exact phrase get 0 hits
Date Fri, 16 Dec 2005 20:43:15 GMT
Yonik,

this was due to the additional parenthses I was using, see my last
email. I think I'll rewrite with the lucene api as Erik said.

thanks,
javi


On 12/16/05, Yonik Seeley <yseeley@gmail.com> wrote:
> I can't reproduce this behavior with the current version of Lucene.
>
> +text:solar  => 112 docs
> +text:"a a a" => 0 docs because a is a stop word
> +text"solar" +text:"a a a" => 112 docs
>
> -Yonik
>
>
> On 12/15/05, javier muguruza <jmuguruza@gmail.com> wrote:
> >  Hi,
> >
> > Suppose I have a query like this:
> > +attachments:purpose
> >  that returns N hits.
> > If I add another condition
> > +attachments:purpose +attachments:"hello world"
> > I still get some hits, but if the words in the "hello world" phrase
> > happen to be all stop words I get 0 hits.
> >
> > I can fix that by checking at least one of them is not a stop word,
> > but just wanted to know wether thats expected behaviour.
> >
> >
> > Im using lucene1.9rc.
> > thanks
>
> ---------------------------------------------------------------------
> 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