lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r649431 - /lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java
Date Fri, 18 Apr 2008 09:36:26 GMT
Author: mikemccand
Date: Fri Apr 18 02:36:24 2008
New Revision: 649431

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

Modified:
    lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java

Modified: lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java?rev=649431&r1=649430&r2=649431&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java (original)
+++ lucene/java/branches/lucene_2_3/src/java/org/apache/lucene/index/IndexWriter.java Fri
Apr 18 02:36:24 2008
@@ -1719,7 +1719,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