Mappings get put and get mappings#58426
Conversation
fixed get/index tests
CompatRestIT. test {yaml=get/21_stored_fields_with_types/Stored fields}
CompatRestIT. test {yaml=get/71_source_filtering_with_types/Source
filtering}
CompatRestIT. test {yaml=index/70_mix_typeless_typeful/Index call that
introduces new field mappings}
CompatRestIT. test {yaml=index/70_mix_typeless_typeful/Index with
typeless API on an index that has types}
however the last one from get is still failing
CompatRestIT. test {yaml=get/100_mix_typeless_typeful/GET with typeless
API on an index that has
|
Test Summary 152 19 11m50.34s 88% Failed tests |
|
Pinging @elastic/es-core-infra (:Core/Infra/REST API) |
based on pgomulka:compat/delete_update #58246
because of that change (custom type to _doc) a test that was expecting 404 for a type that did not exist, passes now as the logic is trying to fetch for _doc (any type that exist on that index will be good).
this is because I can't tell if the mapping contained a type or not when fetching a mapping.
failing - (not returning 404) - because type is always found (defaulted to _doc)
#47364
#41676