-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Restrict default field name length #58952
Labels
>enhancement
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Comments
Pinging @elastic/es-search (:Search/Mapping) |
We discussed this in the es-search meeting and had the following observations:
|
Is there an update in this issue? |
Pinging @elastic/es-search (Team:Search) |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>enhancement
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
The default field name length limit is unbounded. This imposes a risk to cluster health in that if a client generates wildly long field names, the resulting mapping can become large, causing cluster wide issues.
We propose to lower the default limit of field names to 10K characters. This should be done in both 8.0 and 7.x, with an opt out option.
This should only apply to field mappings created after an upgrade to a version with the new default limit.
Related to #40309
The text was updated successfully, but these errors were encountered: