[TEST] remove old tests from yaml test suite
This commit is contained in:
parent
4aeaa3bac4
commit
623e4a0fc8
|
@ -1,10 +1,5 @@
|
|||
---
|
||||
"Parent":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: Delete ignores the parent param
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_1
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Basic delete_by_query, post 1.0":
|
||||
- skip:
|
||||
version: "0 - 0.999"
|
||||
reason: "Since 1.0 the query top-level key in the body is required"
|
||||
"Basic delete_by_query":
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
@ -37,52 +34,6 @@
|
|||
|
||||
- is_true: ok
|
||||
|
||||
- do:
|
||||
indices.refresh: {}
|
||||
|
||||
- do:
|
||||
count:
|
||||
index: test_1
|
||||
|
||||
- match: { count: 2 }
|
||||
---
|
||||
"Basic delete_by_query, pre 1.0":
|
||||
- skip:
|
||||
version: "1 - 999"
|
||||
reason: "Since 1.0 the query top-level key in the body is required"
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 1
|
||||
body: { foo: bar }
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 2
|
||||
body: { foo: baz }
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 3
|
||||
body: { foo: foo }
|
||||
|
||||
- do:
|
||||
indices.refresh: {}
|
||||
|
||||
- do:
|
||||
delete_by_query:
|
||||
index: test_1
|
||||
body:
|
||||
match:
|
||||
foo: bar
|
||||
|
||||
- is_true: ok
|
||||
|
||||
- do:
|
||||
indices.refresh: {}
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
setup:
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: "Parent not supported in exists https://github.com/elasticsearch/elasticsearch/issues/3276"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_1
|
||||
|
@ -35,27 +31,7 @@ setup:
|
|||
- is_true: ''
|
||||
|
||||
---
|
||||
"Parent omitted pre 1.0":
|
||||
|
||||
- skip:
|
||||
version: "1 - 999"
|
||||
reason: "Pre 1.0 omitting a parent with exists would just use the id for routing, possibly resulting in 404"
|
||||
|
||||
- do:
|
||||
exists:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 1
|
||||
|
||||
- is_false: ''
|
||||
|
||||
|
||||
---
|
||||
"Parent omitted post 1.0":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.999"
|
||||
reason: "When a parent is specified in the mapping it cannot be omitted"
|
||||
"Parent omitted":
|
||||
|
||||
- do:
|
||||
catch: request
|
||||
|
@ -64,6 +40,3 @@ setup:
|
|||
type: test
|
||||
id: 1
|
||||
|
||||
- is_false: ''
|
||||
|
||||
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
"Parent with routing":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: "Parent not supported in exists https://github.com/elasticsearch/elasticsearch/issues/3276"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_1
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
"Source filtering":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -35,11 +35,7 @@ setup:
|
|||
- match: { fields._routing: 中文}
|
||||
|
||||
---
|
||||
"Parent omitted post 1.0":
|
||||
- skip:
|
||||
version: "0 - 0.999"
|
||||
reason: "Required parent has been introduced in 1.0"
|
||||
|
||||
"Parent omitted":
|
||||
- do:
|
||||
catch: request
|
||||
get:
|
||||
|
@ -47,16 +43,3 @@ setup:
|
|||
type: test
|
||||
id: 1
|
||||
|
||||
---
|
||||
"Parent omitted pre 1.0":
|
||||
- skip:
|
||||
version: "1 - 999"
|
||||
reason: "Required parent has been introduced in 1.0"
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
get:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 1
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
"Source filtering":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
---
|
||||
"Basic":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
---
|
||||
"Default values":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
setup:
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_1
|
||||
|
@ -36,23 +32,7 @@ setup:
|
|||
- match: { '': {foo: bar}}
|
||||
|
||||
---
|
||||
"Parent omitted pre 1.0":
|
||||
- skip:
|
||||
version: "1 - 999"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
get_source:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 1
|
||||
|
||||
---
|
||||
"Parent omitted post 1.0":
|
||||
- skip:
|
||||
version: "0 - 0.999"
|
||||
reason: "Required parent has been introduced in 1.0"
|
||||
"Parent omitted":
|
||||
|
||||
- do:
|
||||
catch: request
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
"Routing":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
"Parent with routing":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_1
|
||||
|
|
|
@ -1,9 +1,6 @@
|
|||
---
|
||||
"Realtime":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Source filtering":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
index:
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
"Missing document with catch":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
get_source:
|
||||
|
@ -15,11 +11,6 @@
|
|||
---
|
||||
"Missing document with ignore":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Get source not supported in pre 0.90.1 versions."
|
||||
|
||||
|
||||
- do:
|
||||
get_source:
|
||||
index: test_1
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
---
|
||||
"Text format":
|
||||
- skip:
|
||||
version: "0.90.9-99"
|
||||
reason: Text format removed in 1.0.0.RC1
|
||||
|
||||
- do:
|
||||
indices.analyze:
|
||||
format: text
|
||||
text: tHE BLACK and white! AND red
|
||||
- match:
|
||||
tokens: "[black:4->9:<ALPHANUM>]\n\n4: \n[white:14->19:<ALPHANUM>]\n\n6: \n[red:25->28:<ALPHANUM>]\n"
|
||||
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Basic test for delete alias":
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Delete alias not supported before 0.90.1"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
|
|
@ -12,9 +12,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping with no index and type":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "The API was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
@ -24,10 +21,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping by index only":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "The API was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
index: test_index
|
||||
|
@ -37,9 +30,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping by type & field":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "The API was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
@ -51,9 +41,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping by type & field, with another field that doesn't exist":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "The API was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
@ -66,9 +53,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping with include_defaults":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "The API was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Raise 404 when field doesn't exist":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "get field mapping was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Raise 404 when type doesn't exist":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "get field mapping was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Raise 404 when index doesn't exist":
|
||||
- skip:
|
||||
version: "0 - 0.90.5"
|
||||
reason: "get field mapping was added in 0.90.6"
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
|
|
|
@ -25,9 +25,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping with * for fields":
|
||||
- skip:
|
||||
version: "0 - 0.90.7"
|
||||
reason: "The API was added in 0.90.8"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
@ -41,9 +38,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping with t* for fields":
|
||||
- skip:
|
||||
version: "0 - 0.90.7"
|
||||
reason: "The API was added in 0.90.8"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
@ -58,9 +52,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping with *t1 for fields":
|
||||
- skip:
|
||||
version: "0 - 0.90.7"
|
||||
reason: "The API was added in 0.90.8"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
@ -72,9 +63,6 @@ setup:
|
|||
|
||||
---
|
||||
"Get field mapping with wildcarded relative names":
|
||||
- skip:
|
||||
version: "0 - 0.90.7"
|
||||
reason: "The API was added in 0.90.8"
|
||||
|
||||
- do:
|
||||
indices.get_field_mapping:
|
||||
|
|
|
@ -21,26 +21,7 @@ setup:
|
|||
- match: {test_index.test_type.properties.text.analyzer: whitespace}
|
||||
|
||||
---
|
||||
"Get type mapping - pre 1.0":
|
||||
|
||||
- skip:
|
||||
version: "0.90.9 - 999"
|
||||
reason: "for newer versions the index name is always returned"
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
index: test_index
|
||||
type: test_type
|
||||
|
||||
- match: {test_type.properties.text.type: string}
|
||||
- match: {test_type.properties.text.analyzer: whitespace}
|
||||
|
||||
---
|
||||
"Get type mapping - post 1.0":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "for older versions, just the type name is returned"
|
||||
"Get type mapping":
|
||||
|
||||
- do:
|
||||
indices.get_mapping:
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
- match: {test.settings: {index.number_of_shards: '1', index.number_of_replicas: '0'}}
|
||||
---
|
||||
"Get all templates":
|
||||
- skip:
|
||||
version: "0 - 0.90.3"
|
||||
reason: "Get all templates not available before 0.90.4"
|
||||
|
||||
- do:
|
||||
indices.put_template:
|
||||
|
|
|
@ -4,26 +4,10 @@ setup:
|
|||
name: '*'
|
||||
ignore: 404
|
||||
---
|
||||
"Get missing template - post 0.90.3":
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: "Missing templates throw 404 from 0.90.3"
|
||||
"Get missing template":
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
indices.get_template:
|
||||
name: test
|
||||
|
||||
---
|
||||
"Get missing template - pre 0.90.3":
|
||||
- skip:
|
||||
version: "0.90.3 - 999"
|
||||
reason: "Missing templates didn't throw 404 before 0.90.3"
|
||||
- do:
|
||||
indices.delete_template:
|
||||
name: test
|
||||
ignore: 404
|
||||
- do:
|
||||
indices.get_template:
|
||||
name: test
|
||||
|
||||
- match: {'': {}}
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
"Basic test for put alias":
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Put alias not supported before 0.90.1"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_index
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
"Basic test for aliases":
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Exists alias not supported before 0.90.1"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_index
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
"Lucene Version":
|
||||
- skip:
|
||||
version: "0 - 0.90.0"
|
||||
reason: "Lucene version not included in info before 0.90.1: https://github.com/elasticsearch/elasticsearch/issues/2988"
|
||||
|
||||
- do: {info: {}}
|
||||
- match: {status: 200}
|
||||
- is_true: version.lucene_version
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
---
|
||||
"Non-existent index":
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: "See https://github.com/elasticsearch/elasticsearch/issues/3267"
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
---
|
||||
"Fields":
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: "Single string fields not supported pre 0.90.3. See https://github.com/elasticsearch/elasticsearch/issues/3270"
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
|
|
|
@ -1,113 +0,0 @@
|
|||
---
|
||||
"Fields":
|
||||
|
||||
- skip:
|
||||
version: "0.90.3 - 999"
|
||||
reason: "Tests pre 0.90.2 for single string fields"
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 1
|
||||
body: { foo: bar }
|
||||
|
||||
- do:
|
||||
cluster.health:
|
||||
wait_for_status: yellow
|
||||
|
||||
- do:
|
||||
mget:
|
||||
index: test_1
|
||||
type: test
|
||||
body:
|
||||
docs:
|
||||
- { _id: 1 }
|
||||
- { _id: 1, fields: foo }
|
||||
- { _id: 1, fields: [foo] }
|
||||
- { _id: 1, fields: [foo, _source] }
|
||||
|
||||
- is_false: docs.0.fields
|
||||
- match: { docs.0._source: { foo: bar }}
|
||||
|
||||
# - match: { docs.1.fields.foo: [bar] }
|
||||
# - is_false: docs.1._source
|
||||
|
||||
- match: { docs.2.fields.foo: [bar] }
|
||||
- is_false: docs.2._source
|
||||
|
||||
- match: { docs.3.fields.foo: [bar] }
|
||||
- match: { docs.3._source: { foo: bar }}
|
||||
|
||||
- do:
|
||||
mget:
|
||||
index: test_1
|
||||
type: test
|
||||
fields: foo
|
||||
body:
|
||||
docs:
|
||||
- { _id: 1 }
|
||||
- { _id: 1, fields: foo }
|
||||
- { _id: 1, fields: [foo] }
|
||||
- { _id: 1, fields: [foo, _source] }
|
||||
|
||||
- match: { docs.0.fields.foo: [bar] }
|
||||
- is_false: docs.0._source
|
||||
|
||||
- match: { docs.1.fields.foo: [bar] }
|
||||
- is_false: docs.1._source
|
||||
|
||||
- match: { docs.2.fields.foo: [bar] }
|
||||
- is_false: docs.2._source
|
||||
|
||||
- match: { docs.3.fields.foo: [bar] }
|
||||
- match: { docs.3._source: { foo: bar }}
|
||||
|
||||
- do:
|
||||
mget:
|
||||
index: test_1
|
||||
type: test
|
||||
fields: [foo]
|
||||
body:
|
||||
docs:
|
||||
- { _id: 1 }
|
||||
- { _id: 1, fields: foo }
|
||||
- { _id: 1, fields: [foo] }
|
||||
- { _id: 1, fields: [foo, _source] }
|
||||
|
||||
- match: { docs.0.fields.foo: [bar] }
|
||||
- is_false: docs.0._source
|
||||
|
||||
- match: { docs.1.fields.foo: [bar] }
|
||||
- is_false: docs.1._source
|
||||
|
||||
- match: { docs.2.fields.foo: [bar] }
|
||||
- is_false: docs.2._source
|
||||
|
||||
- match: { docs.3.fields.foo: [bar] }
|
||||
- match: { docs.3._source: { foo: bar }}
|
||||
|
||||
- do:
|
||||
mget:
|
||||
index: test_1
|
||||
type: test
|
||||
fields: [foo, _source]
|
||||
body:
|
||||
docs:
|
||||
- { _id: 1 }
|
||||
- { _id: 1, fields: foo }
|
||||
- { _id: 1, fields: [foo] }
|
||||
- { _id: 1, fields: [foo, _source] }
|
||||
|
||||
- match: { docs.0.fields.foo: [bar] }
|
||||
- match: { docs.0._source: { foo: bar }}
|
||||
|
||||
# - match: { docs.1.fields.foo: [bar] }
|
||||
# - is_false: docs.1._source
|
||||
|
||||
- match: { docs.2.fields.foo: [bar] }
|
||||
- is_false: docs.2._source
|
||||
|
||||
- match: { docs.3.fields.foo: [bar] }
|
||||
- match: { docs.3._source: { foo: bar }}
|
||||
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
"Parent":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: Parent not supported in mget. https://github.com/elasticsearch/elasticsearch/issues/3274
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_1
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
"Parent":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: Parent not supported in mget. https://github.com/elasticsearch/elasticsearch/issues/3274
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_1
|
||||
|
|
|
@ -14,9 +14,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - true/false":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
@ -32,9 +29,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - include field":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
@ -49,9 +43,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - include nested field":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
@ -65,9 +56,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - exclude field":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
@ -79,10 +67,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - ids and true/false":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
@ -102,9 +86,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - ids and include field":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
@ -116,9 +97,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - ids and include nested field":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
@ -130,9 +108,6 @@ setup:
|
|||
|
||||
---
|
||||
"Source filtering - ids and exclude field":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
mget:
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
---
|
||||
"Basic percolation tests":
|
||||
- skip:
|
||||
version: "0.90.9 - 999"
|
||||
reason: "Percolator redesign"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
index: test_index
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: _percolator
|
||||
type: test_index
|
||||
id: test_percolator
|
||||
body:
|
||||
query:
|
||||
match_all: {}
|
||||
|
||||
- do:
|
||||
indices.refresh: {}
|
||||
|
||||
- do:
|
||||
percolate:
|
||||
index: test_index
|
||||
type: test_type
|
||||
body:
|
||||
doc:
|
||||
foo: bar
|
||||
|
||||
- is_true: ok
|
||||
|
||||
- match: {'matches': ['test_percolator']}
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Basic percolation tests":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "Percolator redesign"
|
||||
|
||||
- do:
|
||||
indices.create:
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Source filtering":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "source filtering is not supported in pre 1.0 versions."
|
||||
|
||||
- do:
|
||||
index:
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
setup:
|
||||
- skip:
|
||||
version: "0 - 0.90.2"
|
||||
reason: "Suggest is broken on 0.90.2 - see #3246"
|
||||
- do:
|
||||
index:
|
||||
index: test
|
||||
|
@ -12,31 +9,8 @@ setup:
|
|||
- do:
|
||||
indices.refresh: {}
|
||||
|
||||
|
||||
---
|
||||
"Basic tests for suggest API - pre v1":
|
||||
- skip:
|
||||
version: "1 - 99"
|
||||
reason: "Standard analyzer uses stopwords"
|
||||
|
||||
|
||||
- do:
|
||||
suggest:
|
||||
body:
|
||||
test_suggestion:
|
||||
text: "The Amsterdma meetpu"
|
||||
term:
|
||||
field: body
|
||||
|
||||
- match: {test_suggestion.0.options.0.text: amsterdam}
|
||||
- match: {test_suggestion.1.options.0.text: meetup}
|
||||
|
||||
---
|
||||
"Basic tests for suggest API - post v1":
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "Standard analyzer ignores stopwords"
|
||||
|
||||
"Basic tests for suggest API":
|
||||
|
||||
- do:
|
||||
suggest:
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
"Doc as upsert":
|
||||
|
||||
- skip:
|
||||
version: "0-0.90.1"
|
||||
reason: "doc_as_upsert added in 0.90.2"
|
||||
|
||||
- do:
|
||||
update:
|
||||
index: test_1
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
"Internal version":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "Versions not supported by update API before 1.0.0"
|
||||
|
||||
- do:
|
||||
catch: conflict
|
||||
update:
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
---
|
||||
"External version":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.90.999"
|
||||
reason: "Versions not supported by update API before 1.0.0"
|
||||
|
||||
- do:
|
||||
update:
|
||||
index: test_1
|
||||
|
|
|
@ -58,11 +58,7 @@ setup:
|
|||
- match: { get.fields.foo: [baz] }
|
||||
|
||||
---
|
||||
"Parent omitted post 1.0":
|
||||
|
||||
- skip:
|
||||
version: "0 - 0.999"
|
||||
reason: "Required parent has been introduced in 1.0"
|
||||
"Parent omitted":
|
||||
|
||||
- do:
|
||||
index:
|
||||
|
@ -81,27 +77,3 @@ setup:
|
|||
body:
|
||||
doc: { foo: baz }
|
||||
|
||||
---
|
||||
"Parent omitted pre 1.0":
|
||||
|
||||
- skip:
|
||||
version: "1 - 999"
|
||||
reason: "Required parent has been introduced in 1.0"
|
||||
|
||||
- do:
|
||||
index:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 1
|
||||
parent: 5
|
||||
body: { foo: bar }
|
||||
|
||||
- do:
|
||||
catch: missing
|
||||
update:
|
||||
index: test_1
|
||||
type: test
|
||||
id: 1
|
||||
body:
|
||||
doc: { foo: baz }
|
||||
|
||||
|
|
Loading…
Reference in New Issue