lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
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.


On 2/2/06, Omar Didi <> 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:
For additional commands, e-mail:

View raw message