Apache Lucene open-source search software
LUCENE-8111: IndexOrDocValuesQuery Javadoc references outdated method name.
Adrien Grandbc9836fd5031
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex ef7e0059882..a78770a6078 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -107,6 +107,11 @@ Bug Fixes* LUCENE-8077: Fixed bug in how CheckIndex verifies doc-value iterators.(Xiaoshan Sun via Adrien Grand)+Other++* LUCENE-8111: IndexOrDocValuesQuery Javadoc references outdated method name.+ (Kai Chan via Adrien Grand)+======================= Lucene 7.2.0 =======================API Changesdiff --git a/lucene/core/src/java/org/apache/lucene/search/IndexOrDocValuesQuery.java b/lucene/core/src/java/org/apache/lucene/search/IndexOrDocValuesQuery.javaindex e679e81ea55..f89924d1605 100644--- a/lucene/core/src/java/org/apache/lucene/search/IndexOrDocValuesQuery.java+++ b/lucene/core/src/java/org/apache/lucene/search/IndexOrDocValuesQuery.java@@ -37,7 +37,7 @@ import org.apache.lucene.index.Term;* String field;* long minValue, maxValue;* Query pointQuery = LongPoint.newRangeQuery(field, minValue, maxValue);- * Query dvQuery = SortedNumericDocValuesField.newRangeQuery(field, minValue, maxValue);+ * Query dvQuery = SortedNumericDocValuesField.newSlowRangeQuery(field, minValue, maxValue);* Query query = new IndexOrDocValuesQuery(pointQuery, dvQuery);* </pre>* The above query will be efficient as it will use points in the case that they