mayya-sharipova opened a new issue, #15673:
URL: https://github.com/apache/lucene/issues/15673
The backward-compatible codec impersonators (*RWCodec classes) in
lucene/backward-codecs exist solely for testing purposes. Since Lucene supports
MIN_SUPPORTED_MAJOR - 1, Lucene 8.x indices are no longer readable in Lucene
10.x+.
Maintaining this test infrastructure creates an ongoing maintenance
burden, as evidenced by PR #15616 where compoundFormat() methods weren't
caching instances properly, causing test failures.
Codecs to Remove
- Lucene84RWCodec
- Lucene86RWCodec
- Lucene87RWCodec
Background
From @mikemccand in #15616:
We generally shy away from having Codec writer components have mutable
(setters) state
From @uschindler in #15616:
We never cleaned up our old index codecs. We should remove all backwards
codecs and especially their write support for no-longer supported index
versions. Remove everything that's not needed anymore after removing the
top-level-codecs for each version.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]