mirror of https://github.com/apache/lucene.git
Make IntervalBuilder.NO_INTERVALS public (#13385)
This is generally useful for clients building their own Intervals implementations.
This commit is contained in:
parent
1ee4f8a111
commit
22d50be2ea
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue