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, use of this API is restricted to the
monitoring_user
role.
- 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
Specifies how long 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
Specifies how long the async search needs to be available. Ongoing async searches and any saved search results are deleted after this period.API name:
keep_alive
-