[data.search] Make execution context required #118760
Labels
Feature:Search
Querying infrastructure in Kibana
impact:low
Addressing this issue will have a low level of impact on the quality/strength of our product.
loe:medium
Medium Level of Effort
NeededFor:Core
Related to #101587.
Currently, when calling
data.search
, it accepts anoptions
parameter that currently includes a number of things as well as the following:We would like to make
executionContext
a required parameter so that queries can be traced back to their origins. Since both expressions (esaggs
andesdsl
) and search source calldata.search
internally, we need to update these interfaces to also require execution context.The following usages need to be updated to pass in execution context:
data.search
internally)_search
)_async_search
)This is a just a preliminary search, there may be other places we need to add this.
/cc @mshustov
The text was updated successfully, but these errors were encountered: