mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
This should make easier any potential expansion such as: client.update('index', 'type', 41, {...}, ignore: 409 Also restructured and renamed the test suite a bit as part of the commit. --- This reverts commit 0b142cc8812d8d090e48ea0ad89c007767870b91, "Removed client-specific `ignore_missing` parameter".
20 lines
300 B
YAML
20 lines
300 B
YAML
---
|
|
"Missing document with catch":
|
|
|
|
- do:
|
|
catch: missing
|
|
delete:
|
|
index: test_1
|
|
type: test
|
|
id: 1
|
|
|
|
---
|
|
"Missing document with ignore":
|
|
|
|
- do:
|
|
delete:
|
|
index: test_1
|
|
type: test
|
|
id: 1
|
|
ignore: 404
|