---
"Raise 404 when field doesn't exist":
- do:
indices.create:
index: test_index
body:
mappings:
test_type:
properties:
text:
type: string
analyzer: whitespace
catch: missing
indices.get_field_mapping:
type: test_type
field: not_text