Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Fix a typo in IndexWriter (#2054)

Emmanuel Bourg0fb21e29803e
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() {