Hi i have question about cancel_after_time_interval option

i have any question
The timeout option removes the output of a specific shard and responds within the exception time if a specific shard does not respond for more than that number of seconds.

What is the cancel_after_time_interval option? When tested, when a specific shard fails, a response is provided for both the successful data and the failed shard.

Does the difference with timeout include whether or not an error is included for a specific shard when responding?

Anyway, what I’m really curious about is the difference between cancel_after_time_interval and timeout options and
I’m curious in detail about what cancel_after_time_interval is!

@slowup Have you checked OpenSearch documentation?

  • search.cancel_after_time_interval (Dynamic, time unit): A cluster-level setting that sets the default timeout for all search requests at the coordinating node level. After the specified time has been reached, the request is stopped and all associated tasks are canceled. Default is -1 (no timeout).