Removed client-specific `ignore_missing` parameter

This parameter can introduce confusion, since people might think this is something
working on Elasticsearch level, eg. passing it to `curl`
This commit is contained in:
Karel Minarik 2013-07-23 16:40:43 +02:00
parent 5b8df7eba6
commit 081b3e3982
5 changed files with 2 additions and 41 deletions

View File

@ -8,13 +8,6 @@
type: test
id: 1
- do:
delete:
index: test_1
type: test
id: 1
ignore_missing: 1
- do:
index:
index: test_1
@ -23,7 +16,7 @@
body: { foo: bar }
- is_true: ok
- match: { _version: 3}
- match: { _version: 2 }
- do:
delete:
@ -31,4 +24,4 @@
type: test
id: 1
- match: { _version: 4}
- match: { _version: 3 }

View File

@ -8,13 +8,6 @@
type: test
id: 1
- do:
get:
index: test_1
type: test
id: 1
ignore_missing: 1
- do:
index:
index: test_1

View File

@ -11,13 +11,6 @@
type: test
id: 1
- do:
get_source:
index: test_1
type: test
id: 1
ignore_missing: 1
- do:
index:
index: test_1

View File

@ -9,14 +9,6 @@
id: 1
body: {doc: { foo: bar }}
- do:
update:
index: test_1
type: test
id: 1
body: {doc: { foo: bar }}
ignore_missing: 1
- do:
index:
index: test_1

View File

@ -11,16 +11,6 @@
script: "ctx._source.foo = bar"
params: { bar: 'xxx' }
- do:
update:
index: test_1
type: test
id: 1
ignore_missing: 1
body:
script: "ctx._source.foo = bar"
params: { bar: 'xxx' }
- do:
index:
index: test_1