Skip to content

Apache Lucene open-source search software

fix: Typo in the error message (#15451)

jaypengfeicb9f2974df61
diff --git a/lucene/core/src/java/org/apache/lucene/search/ConjunctionDISI.java b/lucene/core/src/java/org/apache/lucene/search/ConjunctionDISI.java
index d519ebb5b10..3ac25dd93c4 100644
--- a/lucene/core/src/java/org/apache/lucene/search/ConjunctionDISI.java
+++ b/lucene/core/src/java/org/apache/lucene/search/ConjunctionDISI.java
@@ -201,7 +201,7 @@ final class ConjunctionDISI extends FilterDocIdSetIterator {
@Override
public int advance(int target) throws IOException {
assert assertItersOnSameDoc()
- : "Sub-iterators of ConjunctionDISI are not one the same document!";
+ : "Sub-iterators of ConjunctionDISI are not on the same document!";
return doNext(lead1.advance(target));
}