[KQL] Provide utility function to extract needed fields of a KQL query #180555
Labels
Feature:KQL
KQL
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
Team:DataDiscovery
Discover App Team (Document Explorer, Saved Search, Surrounding documents, Data, DataViews)
Originally posted by @lukasolson in #175081
This is a requirement to decouple DataView field / field caps requests from search source requests. We are aiming to reduce the amount of fields that's necessary when a search source is being fetched. Currently when there's no given data view, we initialize a new data view and this triggers a request for all fields. This should be optimized to just request the fields that are needed. For this purpose a utility function should be created, to return the necessary field names of a given KQL query, that can be used in a data view field request to just return those.
The text was updated successfully, but these errors were encountered: