- Fixed the compilation error

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2005-03-12 02:42:57 +00:00
parent 85cc5c9fc3
commit 0d17772c8e
1 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,8 @@ class TermInfosTest {
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++)