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:
Daniel Naber 2004-10-16 13:03:34 +00:00
parent 7618ca9403
commit a819643d58
1 changed files with 1 additions and 1 deletions

View File

@ -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