-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Cleanup saved objects mappings #153070
Cleanup saved objects mappings #153070
Conversation
… to the mapping root
Many tests are failing meaning there's a direct reference to the field and removing it isn't as simple as deleting it from the mapping (with Teams will need to investigate where they're using these and decide how they want to proceed. |
@rudolf I started creating separate PR's to handle each team's mappings but didn't finish. |
💔 Build FailedFailed CI Steps
Test Failures
Metrics [docs]Saved Objects .kibana field count
History
To update your PR or re-run it, just comment with: cc @rudolf |
closing as stale |
## Summary Part of #153070. Cleans up the saved object mappings for search session saved objects. Removes the non-searchable/sortable properties from the `mappings` property and introduces a `schema` property for validation.
## Summary Removes remaining properties that are not searched on from the mapping for the visualizations saved object and adds a schema definition to it. part of #153070
Related to #149102
This PR identifies saved objects with unindexed fields in their mapping definitions.
The draft specifically does the following:
index: false
,dynamic: false
to the root mapping definition,