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": "Parent/child inner hits":
- skip: - skip:
version: " - 5.99.99" version: " - 5.4.99"
reason: mapping.single_type was added in 6.0 reason: mapping.single_type was added in 5.5
- do: - do:
index: index:

View File

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

View File

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