Added version skip commands for source filtering tests

This commit is contained in:
Boaz Leskes 2013-07-30 14:00:23 +02:00
parent 495667facb
commit dbc0823a77
7 changed files with 32 additions and 16 deletions

View File

@ -18,8 +18,8 @@
body:
query:
match_all: {}
- is_true: matched
- is_true: ok
- match: {explanation.value: 1.0}
- match: { explanation.value: 1.0 }

View File

@ -1,5 +1,8 @@
---
"Source filtering":
- skip:
version: "0 - 0.90.999"
reason: "source filtering is not supported in pre 1.0 versions."
- do:
index:

View File

@ -20,20 +20,6 @@
- match: { fields.foo: bar }
- is_false: _source
- do:
get:
index: test_1
type: test
id: 1
fields: foo
_source: true
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1 }
- match: { fields.foo: bar }
- match: { _source.foo: bar }
- do:
get:
index: test_1

View File

@ -1,5 +1,8 @@
---
"Source filtering":
- skip:
version: "0 - 0.90.999"
reason: "source filtering is not supported in pre 1.0 versions."
- do:
index:
@ -40,3 +43,18 @@
- match: { _source.include.field1: v1 }
- is_false: _source.include.field2
- is_false: _source.count
- do:
get:
index: test_1
type: test
id: 1
fields: count
_source: true
- match: { _index: test_1 }
- match: { _type: test }
- match: { _id: 1 }
- match: { fields.count: 1 }
- match: { _source.include.field1: v1 }

View File

@ -1,5 +1,8 @@
---
"Source filtering":
- skip:
version: "0 - 0.90.999"
reason: "source filtering is not supported in pre 1.0 versions."
- do:
index:

View File

@ -1,5 +1,8 @@
---
"Source filtering":
- skip:
version: "0 - 0.90.999"
reason: "source filtering is not supported in pre 1.0 versions."
- do:
index:

View File

@ -1,5 +1,8 @@
---
"Source filtering":
- skip:
version: "0 - 0.90.999"
reason: "source filtering is not supported in pre 1.0 versions."
- do:
index: