Class AsyncSearchStatusRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.async_search.AsyncSearchStatusRequest
Get the async search status.
Get the status of a previously submitted async search request given its identifier, without retrieving search results. If the Elasticsearch security features are enabled, the access to the status of a specific async search is restricted to:
- The user or API key that submitted the original async search request.
- Users that have the
monitor
cluster privilege or greater privileges.
- 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.status
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
id()
Required - A unique identifier for the async search.final Time
The length of time that the async search needs to be available.static AsyncSearchStatusRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<AsyncSearchStatusRequest,AsyncSearchStatusResponse, _ENDPOINTErrorResponse> Endpoint "async_search.status
".
-
-
Method Details
-
of
public static AsyncSearchStatusRequest of(Function<AsyncSearchStatusRequest.Builder, ObjectBuilder<AsyncSearchStatusRequest>> fn) -
id
Required - A unique identifier for the async search.API name:
id
-
keepAlive
The length of time that the async search needs to be available. Ongoing async searches and any saved search results are deleted after this period.API name:
keep_alive
-