summaryrefslogtreecommitdiffstats
path: root/src/test/resources/json/bulk-ops-valid.json
blob: 6e805cf8350c7edc22aace4cfea475b696907dd4 (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
[
  {
    "create": {
      "metaData": {
        "url": "/indexes/test-index/documents/"
      },
      "document": {
        "field1": "value1",
        "field2": "value2"
      }
    }
  },
  {
    "update": {
      "metaData": {
        "url": "/indexes/test-index/documents/3",
        "etag": "5"
      },
      "document": {
        "field1": "new-value"
      }
    }
  },
  {
    "delete": {
      "metaData": {
        "url": "/indexes/test-index/documents/7"
      }
    }
  }
]