Provide a way to only extend async_search keep_alive #86011
Labels
>enhancement
:Search/Search
Search-related issues that do not fall into other categories
Team:Search
Meta label for search team
Description
Currently, in Kibana we extend async searches using the
keep_alive
parameter of GET async_search request.Kibana uses search polling to support long-running searches. It polls with
keep_alive:1m
until the search completes or the user leaves.However, as part of the search-session feature, we extend searches that belong to a saved search session to a
1w
. Since in parallel there might be a search polling process that is usingkeep_alive:1m
we might hit a race condition where some searches are overwritten with1m
instead of previously set1w
.We have and can work around this race condition by some client-side management overhead, but in general, it would be useful to us to have an API that allows us to only extend the keep_alive.
Please evaluate if this is a worthy addition to the API or feel free to close otherwise.
Some previous related work on this:
The text was updated successfully, but these errors were encountered: