lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r164843 - /lucene/java/trunk/src/test-deprecated/org/apache/lucene/index/TermInfosTest.java
Date Tue, 26 Apr 2005 18:01:09 GMT
Author: dnaber
Date: Tue Apr 26 11:01:09 2005
New Revision: 164843

URL: http://svn.apache.org/viewcvs?rev=164843&view=rev
Log:
make deprecated tests compile again

Modified:
    lucene/java/trunk/src/test-deprecated/org/apache/lucene/index/TermInfosTest.java

Modified: lucene/java/trunk/src/test-deprecated/org/apache/lucene/index/TermInfosTest.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test-deprecated/org/apache/lucene/index/TermInfosTest.java?rev=164843&r1=164842&r2=164843&view=diff
==============================================================================
--- lucene/java/trunk/src/test-deprecated/org/apache/lucene/index/TermInfosTest.java (original)
+++ lucene/java/trunk/src/test-deprecated/org/apache/lucene/index/TermInfosTest.java Tue Apr
26 11:01:09 2005
@@ -86,7 +86,8 @@
     Directory store = FSDirectory.getDirectory("test.store", true);
     FieldInfos fis = new FieldInfos();
 
-    TermInfosWriter writer = new TermInfosWriter(store, "words", fis);
+    TermInfosWriter writer = new TermInfosWriter(store, "words", fis,
+    		IndexWriter.DEFAULT_TERM_INDEX_INTERVAL);
     fis.add("word", false);
 
     for (int i = 0; i < keys.size(); i++)



Mime
View raw message