public interface IndicesAdminClient extends ElasticsearchClient
AdminClient.indices()
Modifier and Type | Method and Description |
---|---|
ActionFuture<IndicesAliasesResponse> |
aliases(IndicesAliasesRequest request)
Allows to add/remove aliases from indices.
|
void |
aliases(IndicesAliasesRequest request,
ActionListener<IndicesAliasesResponse> listener)
Allows to add/remove aliases from indices.
|
ActionFuture<AliasesExistResponse> |
aliasesExist(GetAliasesRequest request)
Check to existence of index aliases.
|
void |
aliasesExist(GetAliasesRequest request,
ActionListener<AliasesExistResponse> listener)
Check the existence of specified index aliases.
|
ActionFuture<AnalyzeResponse> |
analyze(AnalyzeRequest request)
Analyze text under the provided index.
|
void |
analyze(AnalyzeRequest request,
ActionListener<AnalyzeResponse> listener)
Analyze text under the provided index.
|
ActionFuture<ClearIndicesCacheResponse> |
clearCache(ClearIndicesCacheRequest request)
Clear indices cache.
|
void |
clearCache(ClearIndicesCacheRequest request,
ActionListener<ClearIndicesCacheResponse> listener)
Clear indices cache.
|
ActionFuture<CloseIndexResponse> |
close(CloseIndexRequest request)
Closes an index based on the index name.
|
void |
close(CloseIndexRequest request,
ActionListener<CloseIndexResponse> listener)
Closes an index based on the index name.
|
ActionFuture<CreateIndexResponse> |
create(CreateIndexRequest request)
Creates an index using an explicit request allowing to specify the settings of the index.
|
void |
create(CreateIndexRequest request,
ActionListener<CreateIndexResponse> listener)
Creates an index using an explicit request allowing to specify the settings of the index.
|
ActionFuture<DeleteIndexResponse> |
delete(DeleteIndexRequest request)
Deletes an index based on the index name.
|
void |
delete(DeleteIndexRequest request,
ActionListener<DeleteIndexResponse> listener)
Deletes an index based on the index name.
|
ActionFuture<DeleteIndexTemplateResponse> |
deleteTemplate(DeleteIndexTemplateRequest request)
Deletes index template.
|
void |
deleteTemplate(DeleteIndexTemplateRequest request,
ActionListener<DeleteIndexTemplateResponse> listener)
Deletes an index template.
|
ActionFuture<IndicesExistsResponse> |
exists(IndicesExistsRequest request)
Indices Exists.
|
void |
exists(IndicesExistsRequest request,
ActionListener<IndicesExistsResponse> listener)
The status of one or more indices.
|
ActionFuture<FlushResponse> |
flush(FlushRequest request)
Explicitly flush one or more indices (releasing memory from the node).
|
void |
flush(FlushRequest request,
ActionListener<FlushResponse> listener)
Explicitly flush one or more indices (releasing memory from the node).
|
ActionFuture<ForceMergeResponse> |
forceMerge(ForceMergeRequest request)
Explicitly force merge one or more indices into a the number of segments.
|
void |
forceMerge(ForceMergeRequest request,
ActionListener<ForceMergeResponse> listener)
Explicitly force merge one or more indices into a the number of segments.
|
ActionFuture<GetAliasesResponse> |
getAliases(GetAliasesRequest request)
Get specific index aliases that exists in particular indices and / or by name.
|
void |
getAliases(GetAliasesRequest request,
ActionListener<GetAliasesResponse> listener)
Get specific index aliases that exists in particular indices and / or by name.
|
ActionFuture<GetFieldMappingsResponse> |
getFieldMappings(GetFieldMappingsRequest request)
Get the mappings of specific fields
|
void |
getFieldMappings(GetFieldMappingsRequest request,
ActionListener<GetFieldMappingsResponse> listener)
Get the mappings of specific fields
|
ActionFuture<GetIndexResponse> |
getIndex(GetIndexRequest request)
Get index metadata for particular indices.
|
void |
getIndex(GetIndexRequest request,
ActionListener<GetIndexResponse> listener)
Get index metadata for particular indices.
|
ActionFuture<GetMappingsResponse> |
getMappings(GetMappingsRequest request)
Get the complete mappings of one or more types
|
void |
getMappings(GetMappingsRequest request,
ActionListener<GetMappingsResponse> listener)
Get the complete mappings of one or more types
|
ActionFuture<GetSettingsResponse> |
getSettings(GetSettingsRequest request)
Executed a per index settings get request.
|
void |
getSettings(GetSettingsRequest request,
ActionListener<GetSettingsResponse> listener)
Executed a per index settings get request and returns the settings for the indices specified.
|
ActionFuture<GetIndexTemplatesResponse> |
getTemplates(GetIndexTemplatesRequest request)
Gets index template.
|
void |
getTemplates(GetIndexTemplatesRequest request,
ActionListener<GetIndexTemplatesResponse> listener)
Gets an index template.
|
ActionFuture<OpenIndexResponse> |
open(OpenIndexRequest request)
Open an index based on the index name.
|
void |
open(OpenIndexRequest request,
ActionListener<OpenIndexResponse> listener)
Open an index based on the index name.
|
IndicesAliasesRequestBuilder |
prepareAliases()
Allows to add/remove aliases from indices.
|
AliasesExistRequestBuilder |
prepareAliasesExist(java.lang.String... aliases)
Allows to check to existence of aliases from indices.
|
AnalyzeRequestBuilder |
prepareAnalyze()
Analyze text/texts.
|
AnalyzeRequestBuilder |
prepareAnalyze(java.lang.String text)
Analyze text.
|
AnalyzeRequestBuilder |
prepareAnalyze(java.lang.String index,
java.lang.String text)
Analyze text under the provided index.
|
ClearIndicesCacheRequestBuilder |
prepareClearCache(java.lang.String... indices)
Clear indices cache.
|
CloseIndexRequestBuilder |
prepareClose(java.lang.String... indices)
Closes one or more indices based on their index name.
|
CreateIndexRequestBuilder |
prepareCreate(java.lang.String index)
Creates an index using an explicit request allowing to specify the settings of the index.
|
DeleteIndexRequestBuilder |
prepareDelete(java.lang.String... indices)
Deletes an index based on the index name.
|
DeleteIndexTemplateRequestBuilder |
prepareDeleteTemplate(java.lang.String name)
Deletes an index template.
|
IndicesExistsRequestBuilder |
prepareExists(java.lang.String... indices)
Indices exists.
|
FlushRequestBuilder |
prepareFlush(java.lang.String... indices)
Explicitly flush one or more indices (releasing memory from the node).
|
ForceMergeRequestBuilder |
prepareForceMerge(java.lang.String... indices)
Explicitly force mergee one or more indices into a the number of segments.
|
GetAliasesRequestBuilder |
prepareGetAliases(java.lang.String... aliases)
Get specific index aliases that exists in particular indices and / or by name.
|
GetFieldMappingsRequestBuilder |
prepareGetFieldMappings(java.lang.String... indices)
Get the mappings of specific fields
|
GetIndexRequestBuilder |
prepareGetIndex()
Get index metadata for particular indices.
|
GetMappingsRequestBuilder |
prepareGetMappings(java.lang.String... indices)
Get the complete mappings of one or more types
|
GetSettingsRequestBuilder |
prepareGetSettings(java.lang.String... indices)
Returns a builder for a per index settings get request.
|
GetIndexTemplatesRequestBuilder |
prepareGetTemplates(java.lang.String... name)
Gets an index template (optional).
|
OpenIndexRequestBuilder |
prepareOpen(java.lang.String... indices)
Opens one or more indices based on their index name.
|
PutMappingRequestBuilder |
preparePutMapping(java.lang.String... indices)
Add mapping definition for a type into one or more indices.
|
PutIndexTemplateRequestBuilder |
preparePutTemplate(java.lang.String name)
Puts an index template.
|
RecoveryRequestBuilder |
prepareRecoveries(java.lang.String... indices)
Indices recoveries
|
RefreshRequestBuilder |
prepareRefresh(java.lang.String... indices)
Explicitly refresh one or more indices (making the content indexed since the last refresh searchable).
|
RolloverRequestBuilder |
prepareRolloverIndex(java.lang.String sourceAlias)
Swaps the index pointed to by an alias given all provided conditions are satisfied
|
IndicesSegmentsRequestBuilder |
prepareSegments(java.lang.String... indices)
The segments of one or more indices.
|
IndicesShardStoreRequestBuilder |
prepareShardStores(java.lang.String... indices)
The shard stores info of one or more indices.
|
ShrinkRequestBuilder |
prepareShrinkIndex(java.lang.String sourceIndex,
java.lang.String targetIndex)
Shrinks an index using an explicit request allowing to specify the settings, mappings and aliases of the target index of the index.
|
IndicesStatsRequestBuilder |
prepareStats(java.lang.String... indices)
Indices stats.
|
SyncedFlushRequestBuilder |
prepareSyncedFlush(java.lang.String... indices)
Explicitly sync flush one or more indices (write sync id to shards for faster recovery).
|
TypesExistsRequestBuilder |
prepareTypesExists(java.lang.String... index)
Indices exists.
|
UpdateSettingsRequestBuilder |
prepareUpdateSettings(java.lang.String... indices)
Update indices settings.
|
UpgradeRequestBuilder |
prepareUpgrade(java.lang.String... indices)
Check upgrade status of one or more indices
|
UpgradeStatusRequestBuilder |
prepareUpgradeStatus(java.lang.String... indices)
Explicitly upgrade one or more indices
|
ValidateQueryRequestBuilder |
prepareValidateQuery(java.lang.String... indices)
Validate a query for correctness.
|
ActionFuture<PutMappingResponse> |
putMapping(PutMappingRequest request)
Add mapping definition for a type into one or more indices.
|
void |
putMapping(PutMappingRequest request,
ActionListener<PutMappingResponse> listener)
Add mapping definition for a type into one or more indices.
|
ActionFuture<PutIndexTemplateResponse> |
putTemplate(PutIndexTemplateRequest request)
Puts an index template.
|
void |
putTemplate(PutIndexTemplateRequest request,
ActionListener<PutIndexTemplateResponse> listener)
Puts an index template.
|
ActionFuture<RecoveryResponse> |
recoveries(RecoveryRequest request)
Indices recoveries
|
void |
recoveries(RecoveryRequest request,
ActionListener<RecoveryResponse> listener)
Indices recoveries
|
ActionFuture<RefreshResponse> |
refresh(RefreshRequest request)
Explicitly refresh one or more indices (making the content indexed since the last refresh searchable).
|
void |
refresh(RefreshRequest request,
ActionListener<RefreshResponse> listener)
Explicitly refresh one or more indices (making the content indexed since the last refresh searchable).
|
void |
rolloverIndex(RolloverRequest request,
ActionListener<RolloverResponse> listener)
Swaps the index pointed to by an alias given all provided conditions are satisfied
|
ActionFuture<RolloverResponse> |
rolloversIndex(RolloverRequest request)
Swaps the index pointed to by an alias given all provided conditions are satisfied
|
ActionFuture<IndicesSegmentResponse> |
segments(IndicesSegmentsRequest request)
The segments of one or more indices.
|
void |
segments(IndicesSegmentsRequest request,
ActionListener<IndicesSegmentResponse> listener)
The segments of one or more indices.
|
ActionFuture<IndicesShardStoresResponse> |
shardStores(IndicesShardStoresRequest request)
The shard stores info of one or more indices.
|
void |
shardStores(IndicesShardStoresRequest request,
ActionListener<IndicesShardStoresResponse> listener)
The shard stores info of one or more indices.
|
ActionFuture<ShrinkResponse> |
shrinkIndex(ShrinkRequest request)
Shrinks an index using an explicit request allowing to specify the settings, mappings and aliases of the target index of the index.
|
void |
shrinkIndex(ShrinkRequest request,
ActionListener<ShrinkResponse> listener)
Shrinks an index using an explicit request allowing to specify the settings, mappings and aliases of the target index of the index.
|
ActionFuture<IndicesStatsResponse> |
stats(IndicesStatsRequest request)
Indices stats.
|
void |
stats(IndicesStatsRequest request,
ActionListener<IndicesStatsResponse> listener)
Indices stats.
|
ActionFuture<SyncedFlushResponse> |
syncedFlush(SyncedFlushRequest request)
Explicitly sync flush one or more indices (write sync id to shards for faster recovery).
|
void |
syncedFlush(SyncedFlushRequest request,
ActionListener<SyncedFlushResponse> listener)
Explicitly sync flush one or more indices (write sync id to shards for faster recovery).
|
ActionFuture<TypesExistsResponse> |
typesExists(TypesExistsRequest request)
Types Exists.
|
void |
typesExists(TypesExistsRequest request,
ActionListener<TypesExistsResponse> listener)
Types exists
|
ActionFuture<UpdateSettingsResponse> |
updateSettings(UpdateSettingsRequest request)
Updates settings of one or more indices.
|
void |
updateSettings(UpdateSettingsRequest request,
ActionListener<UpdateSettingsResponse> listener)
Updates settings of one or more indices.
|
ActionFuture<UpgradeResponse> |
upgrade(UpgradeRequest request)
Explicitly upgrade one or more indices
|
void |
upgrade(UpgradeRequest request,
ActionListener<UpgradeResponse> listener)
Explicitly upgrade one or more indices
|
ActionFuture<UpgradeStatusResponse> |
upgradeStatus(UpgradeStatusRequest request)
Check upgrade status of one or more indices
|
void |
upgradeStatus(UpgradeStatusRequest request,
ActionListener<UpgradeStatusResponse> listener)
Check upgrade status of one or more indices
|
ActionFuture<ValidateQueryResponse> |
validateQuery(ValidateQueryRequest request)
Validate a query for correctness.
|
void |
validateQuery(ValidateQueryRequest request,
ActionListener<ValidateQueryResponse> listener)
Validate a query for correctness.
|
execute, execute, prepareExecute, threadPool
ActionFuture<IndicesExistsResponse> exists(IndicesExistsRequest request)
request
- The indices exists requestRequests.indicesExistsRequest(String...)
void exists(IndicesExistsRequest request, ActionListener<IndicesExistsResponse> listener)
request
- The indices status requestlistener
- A listener to be notified with a resultRequests.indicesExistsRequest(String...)
IndicesExistsRequestBuilder prepareExists(java.lang.String... indices)
ActionFuture<TypesExistsResponse> typesExists(TypesExistsRequest request)
request
- The types exists requestvoid typesExists(TypesExistsRequest request, ActionListener<TypesExistsResponse> listener)
request
- The types existslistener
- A listener to be notified with a resultTypesExistsRequestBuilder prepareTypesExists(java.lang.String... index)
ActionFuture<IndicesStatsResponse> stats(IndicesStatsRequest request)
void stats(IndicesStatsRequest request, ActionListener<IndicesStatsResponse> listener)
IndicesStatsRequestBuilder prepareStats(java.lang.String... indices)
ActionFuture<RecoveryResponse> recoveries(RecoveryRequest request)
void recoveries(RecoveryRequest request, ActionListener<RecoveryResponse> listener)
RecoveryRequestBuilder prepareRecoveries(java.lang.String... indices)
ActionFuture<IndicesSegmentResponse> segments(IndicesSegmentsRequest request)
request
- The indices segments requestRequests.indicesSegmentsRequest(String...)
void segments(IndicesSegmentsRequest request, ActionListener<IndicesSegmentResponse> listener)
request
- The indices segments requestlistener
- A listener to be notified with a resultRequests.indicesSegmentsRequest(String...)
IndicesSegmentsRequestBuilder prepareSegments(java.lang.String... indices)
ActionFuture<IndicesShardStoresResponse> shardStores(IndicesShardStoresRequest request)
request
- The indices shard stores requestRequests.indicesShardStoresRequest(String...)
void shardStores(IndicesShardStoresRequest request, ActionListener<IndicesShardStoresResponse> listener)
request
- The indices shard stores requestlistener
- A listener to be notified with a resultRequests.indicesShardStoresRequest(String...)
IndicesShardStoreRequestBuilder prepareShardStores(java.lang.String... indices)
ActionFuture<CreateIndexResponse> create(CreateIndexRequest request)
request
- The create index requestRequests.createIndexRequest(String)
void create(CreateIndexRequest request, ActionListener<CreateIndexResponse> listener)
request
- The create index requestlistener
- A listener to be notified with a resultRequests.createIndexRequest(String)
CreateIndexRequestBuilder prepareCreate(java.lang.String index)
index
- The index name to createActionFuture<DeleteIndexResponse> delete(DeleteIndexRequest request)
request
- The delete index requestRequests.deleteIndexRequest(String)
void delete(DeleteIndexRequest request, ActionListener<DeleteIndexResponse> listener)
request
- The delete index requestlistener
- A listener to be notified with a resultRequests.deleteIndexRequest(String)
DeleteIndexRequestBuilder prepareDelete(java.lang.String... indices)
indices
- The indices to delete. Use "_all" to delete all indices.ActionFuture<CloseIndexResponse> close(CloseIndexRequest request)
request
- The close index requestRequests.closeIndexRequest(String)
void close(CloseIndexRequest request, ActionListener<CloseIndexResponse> listener)
request
- The close index requestlistener
- A listener to be notified with a resultRequests.closeIndexRequest(String)
CloseIndexRequestBuilder prepareClose(java.lang.String... indices)
indices
- The name of the indices to closeActionFuture<OpenIndexResponse> open(OpenIndexRequest request)
request
- The close index requestRequests.openIndexRequest(String)
void open(OpenIndexRequest request, ActionListener<OpenIndexResponse> listener)
request
- The close index requestlistener
- A listener to be notified with a resultRequests.openIndexRequest(String)
OpenIndexRequestBuilder prepareOpen(java.lang.String... indices)
indices
- The name of the indices to closeActionFuture<RefreshResponse> refresh(RefreshRequest request)
request
- The refresh requestRequests.refreshRequest(String...)
void refresh(RefreshRequest request, ActionListener<RefreshResponse> listener)
request
- The refresh requestlistener
- A listener to be notified with a resultRequests.refreshRequest(String...)
RefreshRequestBuilder prepareRefresh(java.lang.String... indices)
ActionFuture<FlushResponse> flush(FlushRequest request)
request
- The flush requestRequests.flushRequest(String...)
void flush(FlushRequest request, ActionListener<FlushResponse> listener)
request
- The flush requestlistener
- A listener to be notified with a resultRequests.flushRequest(String...)
FlushRequestBuilder prepareFlush(java.lang.String... indices)
ActionFuture<SyncedFlushResponse> syncedFlush(SyncedFlushRequest request)
request
- The sync flush requestRequests.syncedFlushRequest(String...)
void syncedFlush(SyncedFlushRequest request, ActionListener<SyncedFlushResponse> listener)
request
- The sync flush requestlistener
- A listener to be notified with a resultRequests.syncedFlushRequest(String...)
SyncedFlushRequestBuilder prepareSyncedFlush(java.lang.String... indices)
ActionFuture<ForceMergeResponse> forceMerge(ForceMergeRequest request)
request
- The optimize requestRequests.forceMergeRequest(String...)
void forceMerge(ForceMergeRequest request, ActionListener<ForceMergeResponse> listener)
request
- The force merge requestlistener
- A listener to be notified with a resultRequests.forceMergeRequest(String...)
ForceMergeRequestBuilder prepareForceMerge(java.lang.String... indices)
ActionFuture<UpgradeResponse> upgrade(UpgradeRequest request)
request
- The upgrade requestRequests.upgradeRequest(String...)
void upgrade(UpgradeRequest request, ActionListener<UpgradeResponse> listener)
request
- The upgrade requestlistener
- A listener to be notified with a resultRequests.upgradeRequest(String...)
UpgradeStatusRequestBuilder prepareUpgradeStatus(java.lang.String... indices)
ActionFuture<UpgradeStatusResponse> upgradeStatus(UpgradeStatusRequest request)
request
- The upgrade requestRequests.upgradeRequest(String...)
void upgradeStatus(UpgradeStatusRequest request, ActionListener<UpgradeStatusResponse> listener)
request
- The upgrade requestlistener
- A listener to be notified with a resultRequests.upgradeRequest(String...)
UpgradeRequestBuilder prepareUpgrade(java.lang.String... indices)
void getMappings(GetMappingsRequest request, ActionListener<GetMappingsResponse> listener)
ActionFuture<GetMappingsResponse> getMappings(GetMappingsRequest request)
GetMappingsRequestBuilder prepareGetMappings(java.lang.String... indices)
void getFieldMappings(GetFieldMappingsRequest request, ActionListener<GetFieldMappingsResponse> listener)
GetFieldMappingsRequestBuilder prepareGetFieldMappings(java.lang.String... indices)
ActionFuture<GetFieldMappingsResponse> getFieldMappings(GetFieldMappingsRequest request)
ActionFuture<PutMappingResponse> putMapping(PutMappingRequest request)
request
- The create mapping requestRequests.putMappingRequest(String...)
void putMapping(PutMappingRequest request, ActionListener<PutMappingResponse> listener)
request
- The create mapping requestlistener
- A listener to be notified with a resultRequests.putMappingRequest(String...)
PutMappingRequestBuilder preparePutMapping(java.lang.String... indices)
ActionFuture<IndicesAliasesResponse> aliases(IndicesAliasesRequest request)
request
- The index aliases requestRequests.indexAliasesRequest()
void aliases(IndicesAliasesRequest request, ActionListener<IndicesAliasesResponse> listener)
request
- The index aliases requestlistener
- A listener to be notified with a resultRequests.indexAliasesRequest()
IndicesAliasesRequestBuilder prepareAliases()
ActionFuture<GetAliasesResponse> getAliases(GetAliasesRequest request)
request
- The result futurevoid getAliases(GetAliasesRequest request, ActionListener<GetAliasesResponse> listener)
request
- The index aliases requestlistener
- A listener to be notified with a resultGetAliasesRequestBuilder prepareGetAliases(java.lang.String... aliases)
AliasesExistRequestBuilder prepareAliasesExist(java.lang.String... aliases)
ActionFuture<AliasesExistResponse> aliasesExist(GetAliasesRequest request)
request
- The result futurevoid aliasesExist(GetAliasesRequest request, ActionListener<AliasesExistResponse> listener)
request
- The index aliases requestlistener
- A listener to be notified with a resultActionFuture<GetIndexResponse> getIndex(GetIndexRequest request)
request
- The result futurevoid getIndex(GetIndexRequest request, ActionListener<GetIndexResponse> listener)
request
- The index aliases requestlistener
- A listener to be notified with a resultGetIndexRequestBuilder prepareGetIndex()
ActionFuture<ClearIndicesCacheResponse> clearCache(ClearIndicesCacheRequest request)
request
- The clear indices cache requestRequests.clearIndicesCacheRequest(String...)
void clearCache(ClearIndicesCacheRequest request, ActionListener<ClearIndicesCacheResponse> listener)
request
- The clear indices cache requestlistener
- A listener to be notified with a resultRequests.clearIndicesCacheRequest(String...)
ClearIndicesCacheRequestBuilder prepareClearCache(java.lang.String... indices)
ActionFuture<UpdateSettingsResponse> updateSettings(UpdateSettingsRequest request)
request
- the update settings requestvoid updateSettings(UpdateSettingsRequest request, ActionListener<UpdateSettingsResponse> listener)
request
- the update settings requestlistener
- A listener to be notified with the responseUpdateSettingsRequestBuilder prepareUpdateSettings(java.lang.String... indices)
ActionFuture<AnalyzeResponse> analyze(AnalyzeRequest request)
void analyze(AnalyzeRequest request, ActionListener<AnalyzeResponse> listener)
AnalyzeRequestBuilder prepareAnalyze(@Nullable java.lang.String index, java.lang.String text)
index
- The index nametext
- The text to analyzeAnalyzeRequestBuilder prepareAnalyze(java.lang.String text)
text
- The text to analyzeAnalyzeRequestBuilder prepareAnalyze()
ActionFuture<PutIndexTemplateResponse> putTemplate(PutIndexTemplateRequest request)
void putTemplate(PutIndexTemplateRequest request, ActionListener<PutIndexTemplateResponse> listener)
PutIndexTemplateRequestBuilder preparePutTemplate(java.lang.String name)
name
- The name of the template.ActionFuture<DeleteIndexTemplateResponse> deleteTemplate(DeleteIndexTemplateRequest request)
void deleteTemplate(DeleteIndexTemplateRequest request, ActionListener<DeleteIndexTemplateResponse> listener)
DeleteIndexTemplateRequestBuilder prepareDeleteTemplate(java.lang.String name)
name
- The name of the template.ActionFuture<GetIndexTemplatesResponse> getTemplates(GetIndexTemplatesRequest request)
void getTemplates(GetIndexTemplatesRequest request, ActionListener<GetIndexTemplatesResponse> listener)
GetIndexTemplatesRequestBuilder prepareGetTemplates(java.lang.String... name)
ActionFuture<ValidateQueryResponse> validateQuery(ValidateQueryRequest request)
request
- The count requestvoid validateQuery(ValidateQueryRequest request, ActionListener<ValidateQueryResponse> listener)
request
- The count requestlistener
- A listener to be notified of the resultValidateQueryRequestBuilder prepareValidateQuery(java.lang.String... indices)
void getSettings(GetSettingsRequest request, ActionListener<GetSettingsResponse> listener)
ActionFuture<GetSettingsResponse> getSettings(GetSettingsRequest request)
GetSettingsRequestBuilder prepareGetSettings(java.lang.String... indices)
indices
- the indices to fetch the setting for.getSettings(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest)
ShrinkRequestBuilder prepareShrinkIndex(java.lang.String sourceIndex, java.lang.String targetIndex)
ActionFuture<ShrinkResponse> shrinkIndex(ShrinkRequest request)
void shrinkIndex(ShrinkRequest request, ActionListener<ShrinkResponse> listener)
RolloverRequestBuilder prepareRolloverIndex(java.lang.String sourceAlias)
ActionFuture<RolloverResponse> rolloversIndex(RolloverRequest request)
void rolloverIndex(RolloverRequest request, ActionListener<RolloverResponse> listener)