lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reg <register9...@gmail.com>
Subject merging policy is not triggered behind the scene
Date Thu, 13 Jun 2013 23:06:11 GMT
I noticed if I do the merging in the following way,
IndexWriter.mabyeMerge() is never triggered automatically by the merge
scheduler.


IndexWriter writer = ...;

IndexReader[] readers = ...;

writer.addIndexes(readers)

writer.close();


Is it a bug or by design?


Thanks.

--

Lei

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message