Skip to content

Apache Lucene open-source search software

spell fix

Mark Robert Millerc6bd141f1106
diff --git a/lucene/src/java/org/apache/lucene/index/IndexWriter.java b/lucene/src/java/org/apache/lucene/index/IndexWriter.java
index d2cda9cf3c6..8593fa1ecab 100644
--- a/lucene/src/java/org/apache/lucene/index/IndexWriter.java
+++ b/lucene/src/java/org/apache/lucene/index/IndexWriter.java
@@ -2841,7 +2841,7 @@ public class IndexWriter implements Closeable {
* starting index (see {@link #optimize()} for details).
*
* <p>
- * <b>NOTE:</b> this method only copies the segments of the incomning indexes
+ * <b>NOTE:</b> this method only copies the segments of the incoming indexes
* and does not merge them. Therefore deleted documents are not removed and
* the new segments are not merged with the existing ones. Also, the segments
* are copied as-is, meaning they are not converted to CFS if they aren't,