lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbla...@telemadrid.es
Subject Re: all stop words in exact phrase get 0 hits
Date Thu, 15 Dec 2005 14:58:04 GMT





With the '+' prefix you are saying that both clauses must be true, so
looking for stopwords will return false since it won't find any match.
Regards,

Daniel

-----javier muguruza <jmuguruza@gmail.com> escribió: -----


Para: Lucene Users List <lucene-user@jakarta.apache.org>
De: javier muguruza <jmuguruza@gmail.com>
Fecha: 15/12/2005 11:41
Asunto: all stop words in exact phrase get 0 hits

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