Skip to content

Conversation

@cbuescher
Copy link
Member

This reverts #113009 and re-introduces v7 compatibility logic and previous v7 tests
since we now support v7 indices as read-only on v9.

This reverts elastic#113009 and re-adds previous v7 tests since we
now support v7 indices as read-only on v9.
@cbuescher cbuescher added >non-issue :Search Foundations/Mapping Index mappings, including merging and defining field types v9.0.0 labels Dec 18, 2024
@elasticsearchmachine elasticsearchmachine added the Team:Search Foundations Meta label for the Search Foundations team in Elasticsearch label Dec 18, 2024
@elasticsearchmachine
Copy link
Collaborator

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

// This is already broken with normalization, so backwards compat isn't necessary?
tokenizers.add(PreConfiguredTokenizer.singleton("lowercase", XLowerCaseTokenizer::new));

// Temporary shim for aliases. TODO deprecate after they are moved
Copy link
Member

Choose a reason for hiding this comment

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

is the TODO still valid here?

Copy link
Member Author

Choose a reason for hiding this comment

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

I did some spelunking and believe this was introduced in some darker ages when PRs were still 5 digits long: https://github.com/elastic/elasticsearch/pull/24751/files#diff-dfbfed296c89aa1897a8f3e2ea119717f0c2d2577f4ee9757e5e477d88019f16R309

It somehow survived many code moves. Kudos to that, little friend. I'm pretty sure its time to go now.

@cbuescher cbuescher merged commit c98ca63 into elastic:main Dec 18, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

>non-issue :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