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 version dependent logic from CompletionFieldMapper #113011

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

javanna
Copy link
Member

@javanna javanna commented Sep 17, 2024

We have version based logic that applies the limit to number of completion contexts only to indices created from 8.0 on. All indices we may now have in a 9.x cluster match that conditional, hence we can remove the version based conditional.

Relates to #38675

@javanna javanna added >breaking :Search Foundations/Mapping Index mappings, including merging and defining field types v9.0.0 labels Sep 17, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Sep 17, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @javanna, I've created a changelog YAML for you. Note that since this PR is labelled >breaking, you need to update the changelog YAML to fill out the extended information sections.

@javanna javanna requested review from a team as code owners September 18, 2024 07:06
@javanna javanna removed request for a team September 18, 2024 07:07
We have version based logic that applies the limit to number of completion contexts
only to indices created from 8.0 on. Those are the only indices we can now have
in a cluster, hence we can remove the version based conditional.

Relates to elastic#38675
@javanna javanna force-pushed the breaking/completion_contexts_limit branch from 6a64096 to 342f22b Compare September 18, 2024 07:08
Copy link
Member

@cbuescher cbuescher left a comment

Choose a reason for hiding this comment

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

LGTM

@javanna javanna merged commit 452a4d2 into elastic:main Sep 18, 2024
15 checks passed
@javanna javanna deleted the breaking/completion_contexts_limit branch September 18, 2024 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>refactoring :Search Foundations/Mapping Index mappings, including merging and defining field types Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants