LUCENE-8111: IndexOrDocValuesQuery Javadoc references outdated method name.

This commit is contained in:
Adrien Grand 2017-12-29 10:04:32 +01:00
parent c95dc6d957
commit bc9836fd50
2 changed files with 6 additions and 1 deletions

View File

@ -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 Changes

View File

@ -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