[UnifiedFieldList] Reduce requests for data view fields #167758
Labels
enhancement
New value added to drive a business result
Feature:Data Views
Data Views code and UI - index patterns before 8.0
Feature:UnifiedFieldList
The unified field list component used by Lens & Discover
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:large
Large Level of Effort
Team:DataDiscovery
Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
To show the Unified Field List it currently takes 2 request for the fields that are part of the currently selected DataView.
With the implementation of #167750 is is possible to work with DataViews without automatic field fetching. Having this available would unlock the following potential improvement:
We could use the new class to load just the fields matching the current query & filter, these would be the available fields
When users would request to see the "Empty fields", this could trigger a request to fetch all fields, and the previously available fields could be used to split between
Empty fields
andAvailable
fieldsThis change would lead to better performance especially in large installations. In an investigation, the request for all fields took 8s, a request for "Available fields" 2s, which would be significant performance improvement
tbc.
The text was updated successfully, but these errors were encountered: