Skip to content

Remove test disabling field names#116937

Merged
thecoop merged 1 commit intoelastic:mainfrom
thecoop:remove-disable-field-names-test
Nov 19, 2024
Merged

Remove test disabling field names#116937
thecoop merged 1 commit intoelastic:mainfrom
thecoop:remove-disable-field-names-test

Conversation

@thecoop
Copy link
Copy Markdown
Member

@thecoop thecoop commented Nov 18, 2024

Also remove the associated historical feature

@thecoop thecoop added >test Issues or PRs that are addressing/adding tests :Search Foundations/Search Catch all for Search Foundations labels Nov 18, 2024
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@elasticsearchmachine elasticsearchmachine added Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch v9.0.0 labels Nov 18, 2024
Copy link
Copy Markdown
Contributor

@javanna javanna left a comment

Choose a reason for hiding this comment

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

For posterity: this PR does not remove the functionality that allows to disable _field_names, but rather the related testing only.

We will likely need to keep the handling of that parameter in the mappings code for archive indices.

@thecoop
Copy link
Copy Markdown
Member Author

thecoop commented Nov 18, 2024

@javanna does this then need to be replaced with another test, or is that something to be looked at at a later point?

@javanna
Copy link
Copy Markdown
Contributor

javanna commented Nov 18, 2024

@thecoop to be determined at a later point :) perhaps some specific test for the scenario where older indices have _field_names disabled in their mappings and such index is restored as archive cc @cbuescher

@thecoop
Copy link
Copy Markdown
Member Author

thecoop commented Nov 19, 2024

OK, I'll leave that for the search team to look at separately

@thecoop thecoop merged commit 0db51d5 into elastic:main Nov 19, 2024
@thecoop thecoop deleted the remove-disable-field-names-test branch November 19, 2024 12:55
rjernst pushed a commit to rjernst/elasticsearch that referenced this pull request Nov 20, 2024
The test is conditional on the old version being pre-v8, which is never true on main now
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Nov 28, 2024
The test is conditional on the old version being pre-v8, which is never true on main now
cbuescher added a commit to cbuescher/elasticsearch that referenced this pull request Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Search Foundations/Search Catch all for Search Foundations Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch >test Issues or PRs that are addressing/adding tests v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants