lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: StopFilter-troubles
Date Wed, 27 Mar 2002 16:37:53 GMT

--- P.Witte@CS.unimaas.nl wrote:
> Dear Lucene-users,
> has someone an answer to the following question:
> If I add a StopFilter to my Analyzer, the stopwords I gave him will
> be left
> out the query. So far, so good. But when my query is like this one:
> (field1
> : xxxxx) AND (field2 : stopword) AND (field 1 : yyyyy)
> the StopFilter will do its work, but the resulting query is a big
> mess :
> (field1 : xxxxx) AND ( ) AND (field 1 : yyyyy), and because of that
> the
> searching results ara no good. I hoped it would search for (field1 :
> xxxxx)
> AND (field 1 : yyyyy). 
> I think the StopFilter does a poor job here. Is anyone familiar with
> this
> problem and has an answer for me? 
> Puk Witte.

I tried something like this on one Lucene index:
description:travel AND description:a

The results were the same as this query:
description:travel

This seems right to me.

Otis



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message