mirror of https://github.com/apache/lucene.git
LUCENE-1266: actually use the doWait param in IndexWriter.optimize(boolean doWait)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649429 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6a4ae85775
commit
074df18090
|
@ -2198,7 +2198,7 @@ public class IndexWriter {
|
|||
* {@link MergeScheduler} that is able to run merges in
|
||||
* background threads. */
|
||||
public void optimize(boolean doWait) throws CorruptIndexException, IOException {
|
||||
optimize(1, true);
|
||||
optimize(1, doWait);
|
||||
}
|
||||
|
||||
/** Just like {@link #optimize(int)}, except you can
|
||||
|
|
Loading…
Reference in New Issue