summaryrefslogtreecommitdiff
path: root/rest-api-spec/test/indices.delete_mapping/10_basic.yaml
blob: e7139bcc761ad78cd2fc9d3ca18cba22d9cdc2fd (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
25
26
27
28
29
30
31
---
"delete mapping tests":
  - do:
        indices.create:
          index: test_index
          body:
              mappings:
                test_type:
                  properties:
                    text:
                      type:     string
                      analyzer: whitespace

  - do:
      indices.exists_type:
        index: test_index
        type: test_type

  - is_true: ''

  - do:
      indices.delete_mapping:
        index: test_index
        type: test_type
  
  - do:
      indices.exists_type:
        index: test_index
        type: test_type

  - is_false: ''