github.com/opensearch-project/opensearch-go/v2@v2.3.0/opensearchutil/testdata/bulk_response_1a.json (about)

     1  {
     2    "took": 30,
     3    "errors": true,
     4    "items": [
     5      {
     6        "index": {
     7          "_index": "test",
     8          "_id": "1",
     9          "_version": 1,
    10          "result": "created",
    11          "_shards": {
    12            "total": 1,
    13            "successful": 1,
    14            "failed": 0
    15          },
    16          "_seq_no": 0,
    17          "_primary_term": 1,
    18          "status": 201
    19        }
    20      },
    21      {
    22        "create": {
    23          "_index": "test",
    24          "_id": "2",
    25          "status": 409,
    26          "error": {
    27            "type": "version_conflict_engine_exception",
    28            "reason": "[1]: version conflict, document already exists (current version [1])",
    29            "index_uuid": "eZMQ7DUzT56RLaQcAjOlxg",
    30            "index": "test-bulk-integration",
    31            "shard": "0"
    32          }
    33        }
    34      }
    35    ]
    36  }