Skip to content

Conversation

@drewdaemon
Copy link
Contributor

@drewdaemon drewdaemon commented Nov 14, 2025

Summary

Fix #242601

@drewdaemon drewdaemon added the Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t// label Nov 17, 2025
@drewdaemon drewdaemon force-pushed the optimize-esql-polling-requests branch from 7dd46a3 to aba08ef Compare November 17, 2025 22:49
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
data 441.2KB 441.4KB +122.0B

History

@drewdaemon drewdaemon added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting labels Nov 18, 2025
@drewdaemon drewdaemon marked this pull request as ready for review November 18, 2025 15:03
@drewdaemon drewdaemon requested review from a team as code owners November 18, 2025 15:03
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)


let optimizedParams = request.params;

if (strategy === ESQL_ASYNC_SEARCH_STRATEGY) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lukasolson curious to hear your thoughts on treating the strategies differently here. Another option would be to add a new optimizeParamsForPoll method to the strategies themselves which would keep the logic together with the strategy.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we actually need anything inside params if we're polling? Could we do something like this?

Remove_params_from_request.patch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:DataDiscovery Discover, search (data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[data.search] stop sending query and filter info in ES|QL polling requests

3 participants