Cancel underlying query when switching context in Kibana or old query is replaced #17845
Labels
enhancement
New value added to drive a business result
Feature:Search
Querying infrastructure in Kibana
We see a number of users changing context to move to Discover or even another dashboard while an underlying search is still being queried. If you are switching context and the underlying query is no longer relevant, we should automatically cancel that query.
There are also other scenarios when a query will become unnecessary, because it's replaced by a different query, e.g. you resize a visualization. That should cancel the previous running query in case a new query is executed due to the resize.
Utilizing the new ability to associate an ID with tasks (elastic/elasticsearch#27764) and the task management API, we should be able to automatically cancel a running query if the context has changed.
Related to #14544, #17265, #17844, #17846, elastic/elasticsearch#43332
The text was updated successfully, but these errors were encountered: