Fix a typo in IndexWriter (#2054)

This commit is contained in:
Emmanuel Bourg 2020-11-02 12:40:53 +01:00 committed by GitHub
parent 2c49c4a27d
commit 0fb21e2980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5836,7 +5836,7 @@ public class IndexWriter implements Closeable, TwoPhaseCommit, Accountable,
}
/**
* Returns accurate {@link DocStats} form this writer. The numDoc for instance can change after maxDoc is fetched
* Returns accurate {@link DocStats} for this writer. The numDoc for instance can change after maxDoc is fetched
* that causes numDocs to be greater than maxDoc which makes it hard to get accurate document stats from IndexWriter.
*/
public synchronized DocStats getDocStats() {