Skip to content

Apache Lucene open-source search software

SOLR-6640: Fixing the comment

Anshum Gupta41729528c34c
diff --git a/solr/core/src/java/org/apache/solr/handler/SnapPuller.java b/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
index 6aeb718a555..4271c562d8f 100644
--- a/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
+++ b/solr/core/src/java/org/apache/solr/handler/SnapPuller.java
@@ -407,7 +407,7 @@ public class SnapPuller {
}
if (!isFullCopyNeeded) {
- // a searcher might be using some flushed but committed segments
+ // a searcher might be using some flushed but not committed segments
// because of soft commits (which open a searcher on IW's data)
// so we need to close the existing searcher on the last commit
// and wait until we are able to clean up all unused lucene files