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

Remove superfluous lucene PostingFormat service configuration #81049

Merged
merged 2 commits into from
Nov 25, 2021

Conversation

ChrisHegarty
Copy link
Contributor

@ChrisHegarty ChrisHegarty commented Nov 25, 2021

This PR simply removes the org.apache.lucene.codecs.PostingsFormat service configuration file from elasticsearch server. The service implementation is part of lucene, and already configured by Lucene itself, see here.

It would appear likely that this service configuration file was added a some point in the past to workaround an issue where Lucene was not configuring the service itself, but I see no reason to keep this now. In fact, the declaration of a service implementation outside of the module (server in this case) raises an error when moving to Java modules.

relates #78166

Copy link
Contributor

@romseygeek romseygeek left a comment

Choose a reason for hiding this comment

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

LGTM

@ChrisHegarty ChrisHegarty merged commit accff06 into elastic:master Nov 25, 2021
@ChrisHegarty ChrisHegarty deleted the lucene_service branch November 25, 2021 16:26
@pugnascotia pugnascotia added >refactoring modularization Java Modules related and removed >refactoring labels Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modularization Java Modules related v8.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants