mirror of https://github.com/apache/lucene.git
avoid accessing deprecated field
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150613 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7618ca9403
commit
a819643d58
|
@ -65,7 +65,7 @@ class IndexHTML {
|
|||
}
|
||||
|
||||
writer = new IndexWriter(index, new StandardAnalyzer(), create);
|
||||
writer.maxFieldLength = 1000000;
|
||||
writer.setMaxFieldLength(1000000);
|
||||
|
||||
indexDocs(root, index, create); // add new docs
|
||||
|
||||
|
|
Loading…
Reference in New Issue