You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Sairaj Sunil <sa...@gmail.com> on 2007/02/09 17:14:50 UTC

Merge factor problem,

Hi all,
I have increased the merge factor from 10 to 50. I thought the indexing
performance will be better. But the time taken taken to index is more than
the time taken for the merge factor of 10. The documentation and some
articles say that the time taken to index will improve if the merge factor
is increased.
I have changed the merge factors to 50, 100, 1000. I have left the
minMergeDocs to be the default value for all the cases. The time taken to
index same number of documents increased in a linear fashion, which is
exactly opposite according to the info I have read.
Is this the correct behavior. In which cases this behavior happens?

Regards
-- 
Sairaj Sunil

Re: Merge factor problem,

Posted by Daniel Naber <lu...@danielnaber.de>.
On Friday 09 February 2007 17:14, Sairaj Sunil wrote:

> I have increased the merge factor from 10 to 50.

Please try increasing setMaxBufferedDocs() instead, does that help?

Regards
 Daniel

-- 
http://www.danielnaber.de

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