Skip to content

Conversation

@javanna
Copy link
Member

@javanna javanna commented Mar 10, 2025

Backports the following commits to 8.x:

…tic#124053)

The old lucene versions plugin allows users to read indices created by ancient
Elasticsearch version, starting from 5.0. Especially for 5.x which relied on Lucene
6.x, some special logic is required around postings format support. That revolves
around reading of FSTs, but has a consequence of requiring quite a few fork of
other Lucene classes due to their visibility.

This commit attempts to add javadocs to clarify the intent of some of these classes.
It also includes some simplifications, in that Lucene50PostingsReader can be reused as-is
and some other classes are only needed in tests hence are moved to the test folder.
@javanna javanna added :Search Foundations/Search Catch all for Search Foundations >refactoring auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch labels Mar 10, 2025
@javanna javanna merged commit 2cdd81f into elastic:8.x Mar 11, 2025
15 checks passed
@javanna javanna deleted the backport/8.x/pr-124053 branch March 11, 2025 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >refactoring :Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v8.19.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants