Class DeleteAsyncSearchRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.async_search.DeleteAsyncSearchRequest
Delete an async search.
If the asynchronous search is still running, it is cancelled. Otherwise, the
saved search results are deleted. If the Elasticsearch security features are
enabled, the deletion of a specific async search is restricted to: the
authenticated user that submitted the original search request; users that
have the cancel_task
cluster privilege.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "async_search.delete
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
id()
Required - A unique identifier for the async search.static DeleteAsyncSearchRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteAsyncSearchRequest,DeleteAsyncSearchResponse, _ENDPOINTErrorResponse> Endpoint "async_search.delete
".
-
-
Method Details
-
of
public static DeleteAsyncSearchRequest of(Function<DeleteAsyncSearchRequest.Builder, ObjectBuilder<DeleteAsyncSearchRequest>> fn) -
id
Required - A unique identifier for the async search.API name:
id
-