-
Notifications
You must be signed in to change notification settings - Fork 26.1k
Allow docvalues-only search on number types #82409
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
Changes from 17 commits
85bc065
c2b2869
166c6c1
359dc3c
198d23f
9a551dc
0217921
bae5818
b3c0cd7
5c4ad1b
e56c26b
5135dae
c2a9ca5
4b273fd
d5fa293
9c1f11f
32c22fc
f9efb59
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 |
|---|---|---|
|
|
@@ -218,6 +218,8 @@ tasks.named("yamlRestTestV7CompatTransform").configure { task -> | |
| // sync_id is no longer available in SegmentInfos.userData // "indices.flush/10_basic/Index synced flush rest test" | ||
| task.replaceIsTrue("indices.testing.shards.0.0.commit.user_data.sync_id", "indices.testing.shards.0.0.commit.user_data") | ||
|
|
||
| // we can now search using doc values only | ||
| task.replaceValueInMatch("fields.object\\.nested1.long.searchable", true) | ||
|
Contributor
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. can you remind me what this does?
Contributor
Author
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. This task runs the yaml test suite from ES 7.x against ES 8. By supporting searches on doc-values-only fields, we now have a "breaking" change as the test from 7.x returns different results, namely this field now appears as "searchable" in 8. This is ok though.
Contributor
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. I see, thanks for explaining. |
||
| } | ||
|
|
||
| tasks.register('enforceYamlTestConvention').configure { | ||
|
|
||
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.
may I ask why you mention only long and double?
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.
Wasn't meant to be an exhaustive list. I've copied this phrasing from a different part of the docs. I've added a link on "Numeric types" now so that someone interested can look up all the types this applies to.
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.
thanks!