lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide <davidi...@libero.it>
Subject Re: Problem finding similar documents with MoreLikeThis method.
Date Wed, 19 Jul 2006 12:23:21 GMT

mark harwood wrote:
> Does your index have only the one document?
> 
> MoreLikeThis will only generate queries with terms that occur in more than "minDocFreq"
(default setting is 5).
> 
> This is to avoid the large overheads associated with searching for very common words
in your example text.
> 
> 
> 

Thanks very much Mark.
I have specified:

setMinDocFreq(0);

for testing and It works... the query now isn't empty and the search
return a document...
So I think that the "problem" was that...

Thank you
Davide.



---------------------------------------------------------------------
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