Skip to content

Add support for cancel_after_time_interval #273

@sohami

Description

@sohami

Is your feature request related to a problem?
From OS 1.0 onwards, a new request query parameter cancel_after_time_interval was introduced both for SearchRequest and MSearchRequest to provide cancellation of backend request upon timer expiry. This was done to avoid the wasted resource usage from the requests which client application is not waiting for anymore.

What solution would you like?
The support for this request parameter is already merged in from OS 1.0 however the clients doesn't have support for passing it to the backend. Would be great if this parameter support can be added in all the clients

What alternatives have you considered?
N/A

Do you have any additional context?
Issue: opensearch-project/OpenSearch#817
PR: opensearch-project/OpenSearch@e44e890

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions