blob: 1eae25796b8f0a7a2e404ed599826aa024e1265d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
---
"Return empty object if field doesn't exist, but type and index do":
- do:
indices.create:
index: test_index
body:
mappings:
test_type:
properties:
text:
type: string
analyzer: whitespace
- do:
cluster.health:
wait_for_status: yellow
- do:
indices.get_field_mapping:
index: test_index
type: test_type
field: not_existent
- match: { '': {}}
|