Class ImportDanglingIndexRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.dangling_indices.ImportDanglingIndexRequest
Import a dangling index.
 
 If Elasticsearch encounters index data that is absent from the current
 cluster state, those indices are considered to be dangling. For example, this
 can happen if you delete more than
 cluster.indices.tombstones.size indices while an Elasticsearch
 node is offline.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionEndpoint "dangling_indices.import_dangling_index".
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanRequired - This parameter must be set to true to import a dangling index.final StringRequired - The UUID of the index to import.final TimeSpecify timeout for connection to masterstatic ImportDanglingIndexRequestfinal Timetimeout()Explicit operation timeoutMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTpublic static final Endpoint<ImportDanglingIndexRequest,ImportDanglingIndexResponse, _ENDPOINTErrorResponse> Endpoint "dangling_indices.import_dangling_index".
 
- 
- 
Method Details- 
ofpublic static ImportDanglingIndexRequest of(Function<ImportDanglingIndexRequest.Builder, ObjectBuilder<ImportDanglingIndexRequest>> fn) 
- 
acceptDataLosspublic final boolean acceptDataLoss()Required - This parameter must be set to true to import a dangling index. Because Elasticsearch cannot know where the dangling index data came from or determine which shard copies are fresh and which are stale, it cannot guarantee that the imported data represents the latest state of the index when it was last in the cluster.API name: accept_data_loss
- 
indexUuidRequired - The UUID of the index to import. Use the get dangling indices API to locate the UUID.API name: index_uuid
- 
masterTimeoutSpecify timeout for connection to masterAPI name: master_timeout
- 
timeoutExplicit operation timeoutAPI name: timeout
 
-