mirror of https://github.com/apache/lucene.git
- 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:
parent
85cc5c9fc3
commit
0d17772c8e
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue