Make IntervalBuilder.NO_INTERVALS public (#13385)

This is generally useful for clients building their own Intervals
implementations.
This commit is contained in:
expani1729 2024-05-20 18:21:51 +05:30 committed by GitHub
parent 1ee4f8a111
commit 22d50be2ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -390,6 +390,8 @@ Other
* GITHUB#13077: Add public getter for SynonymQuery#field (Andrey Bozhko)
* GITHUB#13385: Make NO_INTERVALS source as public to be used by Lucene clients instead of creating clones themselves (Aniketh Jain)
======================== Lucene 9.10.0 =======================
API Changes

View File

@ -236,7 +236,7 @@ final class IntervalBuilder {
return clauses;
}
static final IntervalsSource NO_INTERVALS =
public static final IntervalsSource NO_INTERVALS =
new IntervalsSource() {
@Override
public IntervalIterator intervals(String field, LeafReaderContext ctx) {