mirror of https://github.com/apache/lucene.git
remove deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151471 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
767312d611
commit
e75ffc5b11
|
@ -31,7 +31,7 @@ class IndexTest {
|
|||
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"));
|
||||
|
|
Loading…
Reference in New Issue