-
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
[Discover] Make _index
and _id
optional in EsHitRecord
to support ES|QL records
#184975
[Discover] Make _index
and _id
optional in EsHitRecord
to support ES|QL records
#184975
Conversation
/ci |
/ci |
8a9ce23
to
1f22e67
Compare
/ci |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: cc @davismcphee |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
Thanx Davis! |
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.
LGTM 👍
Summary
This PR updates the
EsHitRecord
type to make_index
and_id
optional in order to avoid dangerously casting ES|QL records (which may not have_index
or_id
) toEsHitRecord
.Checklist
For maintainers