mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 09:29:11 +00:00
22 lines
448 B
YAML
22 lines
448 B
YAML
---
|
|
"Raise 404 when field doesn't exist":
|
|
|
|
- do:
|
|
indices.create:
|
|
index: test_index
|
|
body:
|
|
mappings:
|
|
test_type:
|
|
properties:
|
|
text:
|
|
type: string
|
|
analyzer: whitespace
|
|
|
|
- do:
|
|
catch: missing
|
|
indices.get_field_mapping:
|
|
index: test_index
|
|
type: test_type
|
|
field: not_text
|
|
|