-
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
[Cases] Removing unnecessary mapping fields #151511
[Cases] Removing unnecessary mapping fields #151511
Conversation
Pinging @elastic/response-ops (Team:ResponseOps) |
Pinging @elastic/response-ops-cases (Feature:Cases) |
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.
Double-checked the removed fields and the ones specified in the issue(except for cases.created_by
) are all here 👍
Failing tests seem just to be snapshots as expected.
Why didn't we have dynamic: false
for all mappings before?
Thanks for the review! If you could take one more look as I removed some |
@cnasikas @kobelb The cases find API allows passing in the Should we leave all the case fields as mapped? |
Unfortunately, even though most of the fields we are removing are pretty unlikely to be used, this should be considered a breaking change. We should deprecate the query param. I opened an issue for that #151833. cc @rudolf |
Agreed. We should deprecate the |
💚 Build Succeeded
Metrics [docs]Saved Objects .kibana field count
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
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 for doing this
) This PR adds comments to the various mapping files that had fields removed as part of removing fields that should not be indexed. This PR removed the fields from being mapped: #151511 This serves to indicate which fields are stored in elasticsearch even though they are not mapped. Once we have resolved this issue: #152756 we can remove these comments.
This PR removes fields that do not need to be indexed from the various cases saved objects. Fixes: elastic#151501, elastic#138727
…tic#152763) This PR adds comments to the various mapping files that had fields removed as part of removing fields that should not be indexed. This PR removed the fields from being mapped: elastic#151511 This serves to indicate which fields are stored in elasticsearch even though they are not mapped. Once we have resolved this issue: elastic#152756 we can remove these comments.
This PR removes fields that do not need to be indexed from the various cases saved objects.
Fixes: #151501, #138727