lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r649429 - /lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
Date Fri, 18 Apr 2008 09:35:53 GMT
Author: mikemccand
Date: Fri Apr 18 02:35:44 2008
New Revision: 649429

URL: http://svn.apache.org/viewvc?rev=649429&view=rev
Log:
LUCENE-1266: actually use the doWait param in IndexWriter.optimize(boolean doWait)

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java?rev=649429&r1=649428&r2=649429&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/index/IndexWriter.java Fri Apr 18 02:35:44
2008
@@ -2198,7 +2198,7 @@
    *  {@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



Mime
View raw message