-
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
[Lens] Field existence endpoint uses three APIs instead of one #56902
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
cc @mattkime @ppisljar This sounds to me like we would want to extend the index pattern API to retrieve all those information in it. @wylieconlon Could you maybe clarify a bit, what part we are looking for that's not addressed by the linked ES issue, since we can still provide feedback on that API, and what we would need. |
@timroes Yes, the linked ES API would easily become part of the index pattern object and should solve both |
The fewest requests we can do is 2:
|
One of the performance optimizations we should be making is implemented in elastic/elasticsearch#57276 - because we are using time filtering this could be a big improvement for many queries. |
This is a tech debt issue with some overlap with Discover and index patterns in general. Both Lens and Discover show a list of fields on the left hand side, but the mechanism is different.
For Lens, the field list and existence information requires three steps (steps 1-3) that could be combined into one step:
_source
Steps 1-3 are necessary because there is no unified API that can return:
This is partly addressed by elastic/elasticsearch#49264 but not fully.
The text was updated successfully, but these errors were encountered: