java-user@lucene.apache.org
[Top] [All Lists]

Re: Problem finding similar documents with MoreLikeThis method.

Subject: Re: Problem finding similar documents with MoreLikeThis method.
From: Davide
Date: Wed, 19 Jul 2006 14:23:21 +0200
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@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>