-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Limit multi fields to relevant settings #11053
Comments
+1 |
|
It looks like copy_to and include_in_all no longer work, is there a list of other fields that shouldn't work? Relevant file - https://github.com/elastic/elasticsearch/blob/master/core/src/main/java/org/elasticsearch/index/mapper/TypeParsers.java |
@elastic/es-search-aggs |
It looks like almost all options that should be rejected now are:
The last option that we may want to reject is |
After discussing internally, we decided we'd like to deprecate + remove support for chained multifields. I filed #41267 to track the issue and will close out this one. |
Multi fields are more limited than regular fields. They cannot be object or nested types. There are also other settings like
copy_to
orinclude_in_all
(any others?) that should not work. We should enforce this by rejecting these settings when parsed within a multi field.The text was updated successfully, but these errors were encountered: