lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r151471 - lucene/java/trunk/src/test/org/apache/lucene/IndexTest.java
Date Sat, 05 Feb 2005 03:03:23 GMT
Author: ehatcher
Date: Fri Feb  4 19:03:22 2005
New Revision: 151471

URL: http://svn.apache.org/viewcvs?view=rev&rev=151471
Log:
remove deprecation warning

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/IndexTest.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/IndexTest.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/IndexTest.java?view=diff&r1=151470&r2=151471
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/IndexTest.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/IndexTest.java Fri Feb  4 19:03:22 2005
@@ -31,7 +31,7 @@
       IndexWriter writer = new IndexWriter("F:\\test", new SimpleAnalyzer(),
 					   true);
 
-      writer.mergeFactor = 20;
+      writer.setMergeFactor(20);
 
       // FIXME: OG: what's with this hard-coded dirs??
       indexDocs(writer, new File("F:\\recipes"));



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Mime
View raw message