Add BWC rest test for parent-join after the backport to 5.x

This commit is contained in:
Jim Ferenczi 2017-06-07 19:29:01 +02:00
parent 64cbb93727
commit 3924fd79ef
3 changed files with 12 additions and 8 deletions

View File

@ -14,8 +14,8 @@ setup:
---
"Parent/child inner hits":
- skip:
version: " - 5.99.99"
reason: mapping.single_type was added in 6.0
version: " - 5.4.99"
reason: mapping.single_type was added in 5.5
- do:
index:

View File

@ -3,6 +3,8 @@ setup:
indices.create:
index: test
body:
settings:
mapping.single_type: true
mappings:
doc:
properties:
@ -13,8 +15,8 @@ setup:
---
"Parent/child inner hits":
- skip:
version: " - 5.99.99"
reason: mapping.single_type was added in 6.0
version: " - 5.4.99"
reason: mapping.single_type was added in 5.5
- do:
index:

View File

@ -3,6 +3,8 @@ setup:
indices.create:
index: test
body:
settings:
mapping.single_type: true
mappings:
doc:
properties:
@ -60,8 +62,8 @@ setup:
---
"Test basic":
- skip:
version: " - 5.99.99"
reason: parent-join was added in 6.0
version: " - 5.5.99"
reason: parent-join was added in 5.6
- do:
search:
@ -105,8 +107,8 @@ setup:
---
"Test parent_id query":
- skip:
version: " - 5.99.99"
reason: parent-join was added in 6.0
version: " - 5.5.99"
reason: parent-join was added in 5.6
- do:
search: