lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: index merging
Date Thu, 02 Feb 2006 20:53:23 GMT
No, there isn't anything in the API to tell you that.
A merge may be triggered on any IndexWriter.add() call.

If you want to avoid merges, you can set the merge factor really high
so that merges will never happen, and set maxBufferedDocs to the size
of the segments you want.

-Yonik

On 2/2/06, Omar Didi <odidi@cyveillance.com> wrote:
> Hi all,
>
>  I am trying to index in 2 different indexes with different mergefactors. so if one of
the indexes is merging than I want to index only on the other index.
> is there a way to know if an index is merging?.
>
> thanks

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