Skip to content

LUCENE-9454: Remove version field on Analyzer#154

Merged
romseygeek merged 2 commits intoapache:mainfrom
romseygeek:analyzer/version
May 26, 2021
Merged

LUCENE-9454: Remove version field on Analyzer#154
romseygeek merged 2 commits intoapache:mainfrom
romseygeek:analyzer/version

Conversation

@romseygeek
Copy link
Copy Markdown
Contributor

Version switching on Analyzer behaviour should be implemented
in the various component factories, rather than on a mutable
setting on Analyzer itself.

@romseygeek romseygeek self-assigned this May 26, 2021
Copy link
Copy Markdown
Member

@mikemccand mikemccand left a comment

Choose a reason for hiding this comment

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

+1, this is 9.0 only?

This was an overly complex approach to backwards compatibility!

@romseygeek
Copy link
Copy Markdown
Contributor Author

+1, this is 9.0 only?

Yes, I should have made that clear, sorry!

@romseygeek romseygeek merged commit 1e7d814 into apache:main May 26, 2021
@romseygeek romseygeek deleted the analyzer/version branch May 26, 2021 16:34
@dsmiley
Copy link
Copy Markdown
Contributor

dsmiley commented May 26, 2021

@mikemccand I'm curious why you say:

This was an overly complex approach to backwards compatibility!

I think it's rather simple, and the PR was simple as well showing it was a simple idea. If this approach is complex, what simple approach do you recommend instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants