aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/json/bulk-ops-invalid.json
blob: 470849884de4ff603fe0facadeedca61cfb5a83b (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
32
{
  "operations": [
    {
      "operation": "create",
      "meta-data": {
        "index": "test-index"
      },
      "document": {
        "field1": "value1",
        "field2": "value2"
      }
    },
    {
      "operation": "dance!",
      "meta-data": {
        "index": "test-index",
        "id": "2",
        "version": "5"
      },
      "document": {
        "field1": "new-value"
      }
    },
    {
      "operation": "delete",
      "meta-data": {
        "index": "test-index",
        "id": "4"
      }
    }
  ]
}