[Rest Api Compatibility] Typed TermLookups#74544
Conversation
Previously removed in elastic#46943 parsing type field in term lookup is now possible with rest compatible api. The type field is ignored relates main meta issue elastic#51816 relates type removal meta issue elastic#54160
|
Pinging @elastic/es-core-infra (Team:Core/Infra) |
|
this PR should also fix and should simply fail validation. However it fails on parsing a type field. Ideally we should have the validation in the rest layer I think. Upon the creation of The alternative would be to serialise a |
…plate
Previously the compatibility layer was alwayre returning an _doc for get
template.
This commit does not return _doc in mappings when mappings are empty.
Returning just {} empty object
also moving term lookups tests which are already fixed (relates elastic#74544)
relates elastic#70966
relates main meta issue elastic#51816
relates types removal meta elastic#54160
…plate (#75448) Previously the compatibility layer was always returning an _doc in mappings for get template. This commit does not return _doc in empty mappings. Returning just {} empty object (v7 and v8 behaviour) also moving term lookups tests which are already fixed (relates #74544) relates #70966 relates main meta issue #51816 relates types removal meta #54160
…plate (elastic#75448) Previously the compatibility layer was always returning an _doc in mappings for get template. This commit does not return _doc in empty mappings. Returning just {} empty object (v7 and v8 behaviour) also moving term lookups tests which are already fixed (relates elastic#74544) relates elastic#70966 relates main meta issue elastic#51816 relates types removal meta elastic#54160
Previously removed in #46943
parsing type field in term lookup is now possible with rest
compatible api. The type field is ignored
relates main meta issue #51816
relates type removal meta issue #54160
gradle check?