From 0fb21e29803e923ee783d4aa55dd56bb6523417f Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Mon, 2 Nov 2020 12:40:53 +0100 Subject: [PATCH] Fix a typo in IndexWriter (#2054) --- lucene/core/src/java/org/apache/lucene/index/IndexWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java index 73a18a49465..f50befffaca 100644 --- a/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java +++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java @@ -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() {