You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fields with the same name in different types in the same index should have the same mapping. Previously, this has been advised as "best practice", but relying on advice has proved insufficient (see #4081 for the many issues that have resulted from allowing conflicting field definitions). Instead we need to enforce this in the API.
This issue (which replaces #4081) is a meta issue listing all of the changes that need to be made:
Move field mappings to the index level internally #8871 - Internally, field mappings should be stored at the index level, rather than at the type level. Types are essentially a way of grouping fields. While the mapping APIs will not change, an exception will be thrown if an attempt is made to map a field in one type in a way that conflicts with the mapping of a field with same name in another type. The _parent field is the one exception - this field will remain at the type level.
Fields with the same name in different types in the same index should have the same mapping. Previously, this has been advised as "best practice", but relying on advice has proved insufficient (see #4081 for the many issues that have resulted from allowing conflicting field definitions). Instead we need to enforce this in the API.
This issue (which replaces #4081) is a meta issue listing all of the changes that need to be made:
_type.analyzer,index_analyzer,search_analyzer#8874 Remove type-levelanalyzer,search_analyzer,index_analyzersettings._analyzer_uid,_id,_index,_type,_field_names._routingand_idfrom document fields, but should still be possible to set_routingto required._timestamp,_ttl,_routing,_parentas these are required for reindexing._sourcefield should be stored? Disabling source prevents reindexing, updates, and out-of-the-box highlighting. Perhaps with the new compression options (Addbest_compressionoption for indices #8863), the ability to disable the_sourcefield is less useful?_boostfield #8875 Remove the_boostfield (deprecated in v1.0.0.RC1).index_nameandpath#6677 Deprecateindex_nameandpathsettingsAlternatives:
login_namevslogin_date.