Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Making NO_INTERVALS to be used by clients of Lucene #13385

Merged
merged 3 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lucene/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want to add your name here, so that we can assign credit? Github account name is fine if that's your preference.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added


======================== Lucene 9.10.0 =======================

API Changes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private static List<IntervalsSource> 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) {
Expand Down