lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Itamar Syn-Hershko" <ita...@code972.com>
Subject RE: can lucene search more than one word
Date Mon, 21 Jun 2010 11:11:42 GMT
This happens because those two words are "stop words", and are being
filtered by StandardAnalyzer, which is what you probably used.

You may want to use java-user@lucene.apache.org for this type of questions.

Itamar. 

> -----Original Message-----
> From: danielkimo [mailto:danielkimo@gmail.com] 
> Sent: Monday, June 21, 2010 11:48 AM
> To: java-dev@lucene.apache.org
> Subject: can lucene search more than one word
> 
> 
> Dear all,
> 
> I used lucene to index BNC Corpus(British News Corpus). 
> However, when I search "have on", the result is always zero. 
> The result is 82 from BNC website. I think the problem is 
> lucene cannot search two words at the same time. Does anyone 
> have the same experience? Thanks
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/can-lucene-search-more-than
-one-word-tp910835p910835.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

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



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


Mime
View raw message