diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index 35f52d1c7967..026561273aae 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -362,6 +362,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 diff --git a/lucene/queries/src/java/org/apache/lucene/queries/intervals/IntervalBuilder.java b/lucene/queries/src/java/org/apache/lucene/queries/intervals/IntervalBuilder.java index 3874aeaea778..1e4075fd1342 100644 --- a/lucene/queries/src/java/org/apache/lucene/queries/intervals/IntervalBuilder.java +++ b/lucene/queries/src/java/org/apache/lucene/queries/intervals/IntervalBuilder.java @@ -236,7 +236,7 @@ private static List analyzeGraph(TokenStream source) throws IOE return clauses; } - static final IntervalsSource NO_INTERVALS = + public static final IntervalsSource NO_INTERVALS = new IntervalsSource() { @Override public IntervalIterator intervals(String field, LeafReaderContext ctx) {