-
Notifications
You must be signed in to change notification settings - Fork 24.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use mappings to format doc-value fields by default. #30831
Changes from 10 commits
9d01696
7140149
4b85e3f
b062fd6
3fe4b44
92696e9
7f71843
ec5633f
32c7259
519517b
20fd918
5fdd429
635e0a1
4868ce1
202ff72
2832a35
335fd33
20e7f13
6e57e47
cbbca3e
e39ee37
63fabee
2956352
3d17141
9b96e10
4650a46
091d195
30922bf
39e7f86
854951f
31f87b4
48aacd6
6ab4b74
8f2329f
d6200ad
da84b02
0223f75
8fd2457
6da6920
2ae65cc
00fc077
c49e621
60cb3e4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,8 @@ setup: | |
"Nested doc version and seqIDs": | ||
|
||
- skip: | ||
version: " - 6.3.99" | ||
reason: "object notation for docvalue_fields was introduced in 6.4" | ||
version: " - 6.99.99" | ||
reason: "Triggers warnings before 7.0" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure but should we have a test to check for warnings that runs on 6.4-7.0 versions for the mixed cluster bwc tests? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A test that would have "6.3.99 - 6.99.99" as a version would never run since 7.0 is not included? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmmm I think I might have a slightly misunderstanding on how the mixed cluster tests work then as I thought we set up a mixed cluster (let say 5 modes with 3 as 6.x and 2 as 7.0) and then we ran the YAML tests against the 6.x nodes using the 6.x version to work out which tests to run. Though now that I'm writing this I realise that as long as the 6.x version tests that the warning is sent (which it does) it should be enough and we probably shouldn't have 7.0 effectively test somethign in 6.x. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Weeps I had missed that you were talking specifically about the bw tests. Yes, my preference would be to not test the warning, especially as things might depend on which node acts as a coordinating node for the search request. |
||
|
||
- do: | ||
index: | ||
|
@@ -60,7 +60,7 @@ setup: | |
|
||
- do: | ||
search: | ||
body: { "query" : { "nested" : { "path" : "nested_field", "query" : { "match_all" : {} }, "inner_hits" : { version: true, "docvalue_fields": [ { "field": "_seq_no", "format": "use_field_mapping" } ]} }}, "version": true, "docvalue_fields" : [ { "field": "_seq_no", "format": "use_field_mapping" } ] } | ||
body: { "query" : { "nested" : { "path" : "nested_field", "query" : { "match_all" : {} }, "inner_hits" : { version: true, "docvalue_fields": [ "_seq_no" ] } } }, "version": true, "docvalue_fields" : [ "_seq_no" ] } | ||
|
||
- match: { hits.total: 1 } | ||
- match: { hits.hits.0._index: "test" } | ||
|
@@ -83,7 +83,7 @@ setup: | |
|
||
- do: | ||
search: | ||
body: { "query" : { "nested" : { "path" : "nested_field", "query" : { "match_all" : {} }, "inner_hits" : { version: true, "docvalue_fields": [ { "field": "_seq_no", "format": "use_field_mapping" } ]} }}, "version": true, "docvalue_fields" : [ { "field": "_seq_no", "format": "use_field_mapping" } ] } | ||
body: { "query" : { "nested" : { "path" : "nested_field", "query" : { "match_all" : {} }, "inner_hits" : { version: true, "docvalue_fields": [ "_seq_no" ] } } }, "version": true, "docvalue_fields" : [ "_seq_no" ] } | ||
|
||
- match: { hits.total: 1 } | ||
- match: { hits.hits.0._index: "test" } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with
->within
?