Skip to content

Upgrade to Lucene 10.2.1 #127343

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Conversation

ChrisHegarty
Copy link
Contributor

@ChrisHegarty ChrisHegarty commented Apr 24, 2025

This commit upgrades to Lucene 10.2.1.

Given that we're on a snapshot, there are a few things to note:

  1. No index version update is necessary, we already have IndexVersions.UPGRADE_TO_LUCENE_10_2_1, and there are no format changes in the final non-snapshot release.

  2. The RC repo will be remove before this PR is merged.

relates: #127125

@ChrisHegarty ChrisHegarty added :Search/Search Search-related issues that do not fall into other categories >upgrade Team:Search Meta label for search team labels Apr 24, 2025
@ChrisHegarty ChrisHegarty requested a review from a team as a code owner April 24, 2025 16:42
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-search (Team:Search)

@ChrisHegarty ChrisHegarty added test-full-bwc Trigger full BWC version matrix tests test-release Trigger CI checks against release build labels Apr 24, 2025
@elasticsearchmachine
Copy link
Collaborator

Hi @ChrisHegarty, I've created a changelog YAML for you.

TotalHits totalHits = context.queryResult().topDocs().topDocs.totalHits;
assertThat(totalHits.value(), greaterThanOrEqualTo(5L));
var expectedRelation = totalHits.value() == 10 ? Relation.EQUAL_TO : Relation.GREATER_THAN_OR_EQUAL_TO;
assertThat(totalHits.relation(), is(expectedRelation));
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Test updated as per apache/lucene#14561

@ChrisHegarty ChrisHegarty removed the test-release Trigger CI checks against release build label Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Search/Search Search-related issues that do not fall into other categories Team:Search Meta label for search team test-full-bwc Trigger full BWC version matrix tests >upgrade v9.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants