-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[data.search.aggs] Remove use_field_mapping
from top hits agg
#71168
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lukeelmers
added
bug
Fixes for quality problems that affect the customer experience
review
Feature:Aggregations
Aggregation infrastructure (AggConfig, esaggs, ...)
v8.0.0
Team:AppArch
release_note:skip
Skip the PR/issue when compiling release notes
v7.9.0
labels
Jul 8, 2020
Pinging @elastic/kibana-app-arch (Team:AppArch) |
@elasticmachine merge upstream |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
streamich
approved these changes
Jul 14, 2020
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.
Code LGTM.
sorenlouv
pushed a commit
to lukeelmers/kibana
that referenced
this pull request
Jul 14, 2020
gmmorris
added a commit
to gmmorris/kibana
that referenced
this pull request
Jul 14, 2020
* master: (21 commits) [Maps] 7.9 design improvements (elastic#71563) [ML] Changing all calls to ML endpoints to use internal user (elastic#70487) [eventLog] prevent log writing when initialization fails (elastic#71339) [Observability] landing page always being displayed (elastic#71494) [IM] Address data stream copy feedback (elastic#71615) [Logs UI] Anomalies page dataset filtering (elastic#71110) [data.search.aggs] Remove `use_field_mapping` from top hits agg (elastic#71168) [ML] Anomaly swim lane embeddable navigation and filter actions (elastic#71082) Fixes typo in siem_cloudtrail job description (elastic#71569) Require granted API Keys to have a name (elastic#71623) Update getUsageForCollection (elastic#71609) Only fetch saved elements once (elastic#71310) [SecuritySolution][Resolver] Adding siem index and guarding process ancestry (elastic#71570) [APM] Additional data telemetry changes (elastic#71112) [Visualize] Fix export table for table export links (elastic#71249) [Search] Server side search API (elastic#70446) use inclusive language (elastic#71607) [Security Solution] Hide timeline footer when Resolver is open (elastic#71516) [Index template wizard] Remove shadow and use border for components panels (elastic#71606) [ML] Kibana API endpoint for histogram chart data (elastic#70976) ...
lukeelmers
added a commit
that referenced
this pull request
Jul 14, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Aggregations
Aggregation infrastructure (AggConfig, esaggs, ...)
release_note:skip
Skip the PR/issue when compiling release notes
review
v7.9.0
v8.0.0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #47727
Closes #64734
Closes #68883
Summary
In #22771 we added a
format
parameter to docvalues fields in top hits aggs so that we could explicitly overridedate
fields formats. For non-date fields we useduse_field_mapping
as a fallback, which ES introduced in6.x
to ease the transition to7.0
.In
7.0
, ES began formatting docvalues fields using the field's mapping definition by default, and added a deprecation warning foruse_field_mapping
as explained in #47727.As of
8.0
, theuse_field_mapping
option for docvalues fields has been removed altogether, which has been causing errors onmaster
.This PR removes
use_field_mapping
from the top hits agg docvalues fields, which should resolve #68883. It also re-enables a skipped functional test as explained in #64734.I'll also backport this so that the deprecation warning can be removed as of
7.9
.This should have no effect on saved visualizations as that parameter was added to the DSL on-the-fly when the query was generated, but was never stored in saved objects.