Class IndicesClient

java.lang.Object
org.elasticsearch.client.IndicesClient

public final class IndicesClient
extends java.lang.Object
A wrapper for the RestHighLevelClient that provides methods for accessing the Indices API.

See Indices API on elastic.co

  • Method Summary

    Modifier and Type Method Description
    AnalyzeResponse analyze​(AnalyzeRequest request, org.elasticsearch.client.RequestOptions options)
    Calls the analyze API See Analyze API on elastic.co
    org.elasticsearch.client.Cancellable analyzeAsync​(AnalyzeRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AnalyzeResponse> listener)
    Asynchronously calls the analyze API See Analyze API on elastic.co
    org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheResponse clearCache​(org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest clearIndicesCacheRequest, org.elasticsearch.client.RequestOptions options)
    Clears the cache of one or more indices using the Clear Cache API.
    org.elasticsearch.client.Cancellable clearCacheAsync​(org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest clearIndicesCacheRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheResponse> listener)
    Asynchronously clears the cache of one or more indices using the Clear Cache API.
    org.elasticsearch.action.admin.indices.shrink.ResizeResponse clone​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options)
    ResizeResponse clone​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options)
    Clones an index using the Clone Index API.
    org.elasticsearch.client.Cancellable cloneAsync​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.shrink.ResizeResponse> listener)
    org.elasticsearch.client.Cancellable cloneAsync​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ResizeResponse> listener)
    Asynchronously clones an index using the Clone Index API.
    CloseIndexResponse close​(CloseIndexRequest closeIndexRequest, org.elasticsearch.client.RequestOptions options)
    Closes an index using the Close Index API.
    org.elasticsearch.client.Cancellable closeAsync​(CloseIndexRequest closeIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<CloseIndexResponse> listener)
    Asynchronously closes an index using the Close Index API.
    org.elasticsearch.action.admin.indices.create.CreateIndexResponse create​(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    CreateIndexResponse create​(CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options)
    Creates an index using the Create Index API.
    org.elasticsearch.client.Cancellable createAsync​(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.create.CreateIndexResponse> listener)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    org.elasticsearch.client.Cancellable createAsync​(CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<CreateIndexResponse> listener)
    Asynchronously creates an index using the Create Index API.
    org.elasticsearch.action.support.master.AcknowledgedResponse createDataStream​(CreateDataStreamRequest createDataStreamRequest, org.elasticsearch.client.RequestOptions options)
    Creates a data stream using the Create Data Stream API.
    org.elasticsearch.client.Cancellable createDataStreamAsync​(CreateDataStreamRequest createDataStreamRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously creates a data stream using the Create Data Stream API.
    DataStreamsStatsResponse dataStreamsStats​(DataStreamsStatsRequest dataStreamsStatsRequest, org.elasticsearch.client.RequestOptions options)
    Gets statistics about one or more data streams using the Get Data Streams Stats API.
    org.elasticsearch.client.Cancellable dataStreamsStatsAsync​(DataStreamsStatsRequest dataStreamsStatsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<DataStreamsStatsResponse> listener)
    Asynchronously gets statistics about one or more data streams using the Get Data Streams Stats API.
    org.elasticsearch.action.support.master.AcknowledgedResponse delete​(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest, org.elasticsearch.client.RequestOptions options)
    Deletes an index using the Delete Index API.
    AcknowledgedResponse deleteAlias​(DeleteAliasRequest request, org.elasticsearch.client.RequestOptions options)
    Synchronously calls the delete alias api
    org.elasticsearch.client.Cancellable deleteAliasAsync​(DeleteAliasRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener)
    Asynchronously calls the delete alias api
    org.elasticsearch.client.Cancellable deleteAsync​(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously deletes an index using the Delete Index API.
    org.elasticsearch.action.support.master.AcknowledgedResponse deleteDataStream​(DeleteDataStreamRequest deleteDataStreamRequest, org.elasticsearch.client.RequestOptions options)
    Deletes a data stream using the Delete Data Stream API.
    org.elasticsearch.client.Cancellable deleteDataStreamAsync​(DeleteDataStreamRequest deleteDataStreamRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously deletes a data stream using the Delete Data Stream API.
    org.elasticsearch.action.support.master.AcknowledgedResponse deleteIndexTemplate​(DeleteComposableIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options)
    Delete an index template using the Index Templates API See Index Templates API on elastic.co
    org.elasticsearch.client.Cancellable deleteIndexTemplateAsync​(DeleteComposableIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously delete an index template using the Index Templates API See Index Templates API on elastic.co
    org.elasticsearch.action.support.master.AcknowledgedResponse deleteTemplate​(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options)
    Delete an index template using the Index Templates API See Index Templates API on elastic.co
    org.elasticsearch.client.Cancellable deleteTemplateAsync​(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously delete an index template using the Index Templates API See Index Templates API on elastic.co
    boolean exists​(org.elasticsearch.action.admin.indices.get.GetIndexRequest request, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    boolean exists​(GetIndexRequest request, org.elasticsearch.client.RequestOptions options)
    Checks if the index (indices) exists or not.
    boolean existsAlias​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options)
    Checks if one or more aliases exist using the Aliases Exist API.
    org.elasticsearch.client.Cancellable existsAliasAsync​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
    Asynchronously checks if one or more aliases exist using the Aliases Exist API.
    org.elasticsearch.client.Cancellable existsAsync​(org.elasticsearch.action.admin.indices.get.GetIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    org.elasticsearch.client.Cancellable existsAsync​(GetIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
    Asynchronously checks if the index (indices) exists or not.
    boolean existsIndexTemplate​(ComposableIndexTemplateExistRequest indexTemplatesRequest, org.elasticsearch.client.RequestOptions options)
    Uses the Index Templates API to determine if index templates exist
    org.elasticsearch.client.Cancellable existsIndexTemplateAsync​(ComposableIndexTemplateExistRequest indexTemplatesExistRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
    Uses the Index Templates API to determine if index templates exist
    boolean existsTemplate​(IndexTemplatesExistRequest indexTemplatesRequest, org.elasticsearch.client.RequestOptions options)
    Uses the Index Templates API to determine if index templates exist
    org.elasticsearch.client.Cancellable existsTemplateAsync​(IndexTemplatesExistRequest indexTemplatesExistRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
    Uses the Index Templates API to determine if index templates exist
    org.elasticsearch.action.admin.indices.flush.FlushResponse flush​(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest, org.elasticsearch.client.RequestOptions options)
    Flush one or more indices using the Flush API.
    org.elasticsearch.client.Cancellable flushAsync​(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.flush.FlushResponse> listener)
    Asynchronously flush one or more indices using the Flush API.
    SyncedFlushResponse flushSynced​(org.elasticsearch.action.admin.indices.flush.SyncedFlushRequest syncedFlushRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    synced flush is deprecated and will be removed in 8.0.
    org.elasticsearch.client.Cancellable flushSyncedAsync​(org.elasticsearch.action.admin.indices.flush.SyncedFlushRequest syncedFlushRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<SyncedFlushResponse> listener)
    Deprecated.
    synced flush is deprecated and will be removed in 8.0.
    org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse forcemerge​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options)
    Force merge one or more indices using the Force Merge API.
    org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse forceMerge​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options)
    org.elasticsearch.client.Cancellable forcemergeAsync​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse> listener)
    Asynchronously force merge one or more indices using the Force Merge API.
    org.elasticsearch.client.Cancellable forceMergeAsync​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse> listener)
    ShardsAcknowledgedResponse freeze​(FreezeIndexRequest request, org.elasticsearch.client.RequestOptions options)
    Synchronously calls the _freeze API
    org.elasticsearch.client.Cancellable freezeAsync​(FreezeIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ShardsAcknowledgedResponse> listener)
    Asynchronously calls the _freeze API
    org.elasticsearch.action.admin.indices.get.GetIndexResponse get​(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    GetIndexResponse get​(GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options)
    Retrieve information about one or more indexes See Indices Get Index API on elastic.co
    GetAliasesResponse getAlias​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options)
    Gets one or more aliases using the Get Index Aliases API.
    org.elasticsearch.client.Cancellable getAliasAsync​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetAliasesResponse> listener)
    Asynchronously gets one or more aliases using the Get Index Aliases API.
    org.elasticsearch.client.Cancellable getAsync​(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.get.GetIndexResponse> listener)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    org.elasticsearch.client.Cancellable getAsync​(GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetIndexResponse> listener)
    Retrieve information about one or more indexes See Indices Get Index API on elastic.co
    GetDataStreamResponse getDataStream​(GetDataStreamRequest dataStreamRequest, org.elasticsearch.client.RequestOptions options)
    Gets one or more data streams using the Get Data Stream API.
    org.elasticsearch.client.Cancellable getDataStreamAsync​(GetDataStreamRequest dataStreamRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetDataStreamResponse> listener)
    Asynchronously gets one or more data streams using the Get Data Stream API.
    org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsResponse getFieldMapping​(org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses old request and response objects which still refer to types, a deprecated feature.
    GetFieldMappingsResponse getFieldMapping​(GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options)
    Retrieves the field mappings on an index or indices using the Get Field Mapping API.
    org.elasticsearch.client.Cancellable getFieldMappingAsync​(org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsResponse> listener)
    Deprecated.
    This method uses old request and response objects which still refer to types, a deprecated feature.
    org.elasticsearch.client.Cancellable getFieldMappingAsync​(GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetFieldMappingsResponse> listener)
    Asynchronously retrieves the field mappings on an index or indices using the Get Field Mapping API.
    GetComposableIndexTemplatesResponse getIndexTemplate​(GetComposableIndexTemplateRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options)
    Gets index templates using the Index Templates API See Index Templates API on elastic.co
    GetIndexTemplatesResponse getIndexTemplate​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options)
    Gets index templates using the Index Templates API See Index Templates API on elastic.co
    org.elasticsearch.client.Cancellable getIndexTemplateAsync​(GetComposableIndexTemplateRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetComposableIndexTemplatesResponse> listener)
    Asynchronously gets index templates using the Index Templates API See Index Templates API on elastic.co
    org.elasticsearch.client.Cancellable getIndexTemplateAsync​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetIndexTemplatesResponse> listener)
    Asynchronously gets index templates using the Index Templates API See Index Templates API on elastic.co
    org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse getMapping​(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses old request and response objects which still refer to types, a deprecated feature.
    GetMappingsResponse getMapping​(GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options)
    Retrieves the mappings on an index or indices using the Get Mapping API.
    org.elasticsearch.client.Cancellable getMappingAsync​(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> listener)
    Deprecated.
    This method uses old request and response objects which still refer to types, a deprecated feature.
    org.elasticsearch.client.Cancellable getMappingAsync​(GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetMappingsResponse> listener)
    Asynchronously retrieves the mappings on an index on indices using the Get Mapping API.
    org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse getSettings​(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest, org.elasticsearch.client.RequestOptions options)
    Retrieve the settings of one or more indices.
    org.elasticsearch.client.Cancellable getSettingsAsync​(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> listener)
    Asynchronously retrieve the settings of one or more indices.
    org.elasticsearch.action.admin.indices.template.get.GetIndexTemplatesResponse getTemplate​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses an old response object which still refers to types, a deprecated feature.
    org.elasticsearch.client.Cancellable getTemplateAsync​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.template.get.GetIndexTemplatesResponse> listener)
    Deprecated.
    This method uses an old response object which still refers to types, a deprecated feature.
    org.elasticsearch.action.admin.indices.open.OpenIndexResponse open​(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest, org.elasticsearch.client.RequestOptions options)
    Opens an index using the Open Index API.
    org.elasticsearch.client.Cancellable openAsync​(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.open.OpenIndexResponse> listener)
    Asynchronously opens an index using the Open Index API.
    org.elasticsearch.action.support.master.AcknowledgedResponse putIndexTemplate​(PutComposableIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options)
    Puts an index template using the Index Templates API.
    org.elasticsearch.client.Cancellable putIndexTemplateAsync​(PutComposableIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously puts an index template using the Index Templates API.
    org.elasticsearch.action.support.master.AcknowledgedResponse putMapping​(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    org.elasticsearch.action.support.master.AcknowledgedResponse putMapping​(PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options)
    Updates the mappings on an index using the Put Mapping API.
    org.elasticsearch.client.Cancellable putMappingAsync​(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Deprecated.
    This method uses an old request object which still refers to types, a deprecated feature.
    org.elasticsearch.client.Cancellable putMappingAsync​(PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously updates the mappings on an index using the Put Mapping API.
    org.elasticsearch.action.support.master.AcknowledgedResponse putSettings​(org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequest updateSettingsRequest, org.elasticsearch.client.RequestOptions options)
    Updates specific index level settings using the Update Indices Settings API.
    org.elasticsearch.client.Cancellable putSettingsAsync​(org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequest updateSettingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously updates specific index level settings using the Update Indices Settings API.
    org.elasticsearch.action.support.master.AcknowledgedResponse putTemplate​(org.elasticsearch.action.admin.indices.template.put.PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This old form of request allows types in mappings.
    org.elasticsearch.action.support.master.AcknowledgedResponse putTemplate​(PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options)
    Puts an index template using the Index Templates API.
    org.elasticsearch.client.Cancellable putTemplateAsync​(org.elasticsearch.action.admin.indices.template.put.PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Deprecated.
    This old form of request allows types in mappings.
    org.elasticsearch.client.Cancellable putTemplateAsync​(PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously puts an index template using the Index Templates API.
    org.elasticsearch.action.admin.indices.refresh.RefreshResponse refresh​(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest, org.elasticsearch.client.RequestOptions options)
    Refresh one or more indices using the Refresh API.
    org.elasticsearch.client.Cancellable refreshAsync​(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.refresh.RefreshResponse> listener)
    Asynchronously refresh one or more indices using the Refresh API.
    ReloadAnalyzersResponse reloadAnalyzers​(ReloadAnalyzersRequest request, org.elasticsearch.client.RequestOptions options)
    Synchronously calls the _reload_search_analyzers API
    org.elasticsearch.client.Cancellable reloadAnalyzersAsync​(ReloadAnalyzersRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ReloadAnalyzersResponse> listener)
    Asynchronously calls the _reload_search_analyzers API
    org.elasticsearch.action.admin.indices.rollover.RolloverResponse rollover​(org.elasticsearch.action.admin.indices.rollover.RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options)
    Deprecated.
    This method uses deprecated request and response objects.
    RolloverResponse rollover​(RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options)
    Rolls over an index using the Rollover Index API.
    org.elasticsearch.client.Cancellable rolloverAsync​(org.elasticsearch.action.admin.indices.rollover.RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.rollover.RolloverResponse> listener)
    Deprecated.
    This method uses deprecated request and response objects.
    org.elasticsearch.client.Cancellable rolloverAsync​(RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<RolloverResponse> listener)
    Asynchronously rolls over an index using the Rollover Index API.
    org.elasticsearch.action.admin.indices.shrink.ResizeResponse shrink​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options)
    ResizeResponse shrink​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options)
    Shrinks an index using the Shrink Index API.
    org.elasticsearch.client.Cancellable shrinkAsync​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.shrink.ResizeResponse> listener)
    org.elasticsearch.client.Cancellable shrinkAsync​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ResizeResponse> listener)
    Asynchronously shrinks an index using the Shrink index API.
    SimulateIndexTemplateResponse simulateIndexTemplate​(SimulateIndexTemplateRequest simulateIndexTemplateRequest, org.elasticsearch.client.RequestOptions options)
    Simulates matching index name against the existing index templates in the system.
    org.elasticsearch.client.Cancellable simulateIndexTemplateAsync​(SimulateIndexTemplateRequest simulateIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<SimulateIndexTemplateResponse> listener)
    Asynchronously simulates matching index name against the existing index templates in the system.
    org.elasticsearch.action.admin.indices.shrink.ResizeResponse split​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options)
    ResizeResponse split​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options)
    Splits an index using the Split Index API.
    org.elasticsearch.client.Cancellable splitAsync​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.shrink.ResizeResponse> listener)
    org.elasticsearch.client.Cancellable splitAsync​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ResizeResponse> listener)
    Asynchronously splits an index using the Split Index API.
    ShardsAcknowledgedResponse unfreeze​(UnfreezeIndexRequest request, org.elasticsearch.client.RequestOptions options)
    Synchronously calls the _unfreeze API
    org.elasticsearch.client.Cancellable unfreezeAsync​(UnfreezeIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ShardsAcknowledgedResponse> listener)
    Asynchronously calls the _unfreeze API
    org.elasticsearch.action.support.master.AcknowledgedResponse updateAliases​(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest, org.elasticsearch.client.RequestOptions options)
    Updates aliases using the Index Aliases API.
    org.elasticsearch.client.Cancellable updateAliasesAsync​(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
    Asynchronously updates aliases using the Index Aliases API.
    org.elasticsearch.action.admin.indices.validate.query.ValidateQueryResponse validateQuery​(org.elasticsearch.action.admin.indices.validate.query.ValidateQueryRequest validateQueryRequest, org.elasticsearch.client.RequestOptions options)
    Validate a potentially expensive query without executing it.
    org.elasticsearch.client.Cancellable validateQueryAsync​(org.elasticsearch.action.admin.indices.validate.query.ValidateQueryRequest validateQueryRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.validate.query.ValidateQueryResponse> listener)
    Asynchronously validate a potentially expensive query without executing it.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • delete

      public org.elasticsearch.action.support.master.AcknowledgedResponse delete​(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deletes an index using the Delete Index API. See Delete Index API on elastic.co
      Parameters:
      deleteIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • deleteAsync

      public org.elasticsearch.client.Cancellable deleteAsync​(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously deletes an index using the Delete Index API. See Delete Index API on elastic.co
      Parameters:
      deleteIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • create

      public CreateIndexResponse create​(CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Creates an index using the Create Index API. See Create Index API on elastic.co
      Parameters:
      createIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • createAsync

      public org.elasticsearch.client.Cancellable createAsync​(CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<CreateIndexResponse> listener)
      Asynchronously creates an index using the Create Index API. See Create Index API on elastic.co
      Parameters:
      createIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • createDataStream

      public org.elasticsearch.action.support.master.AcknowledgedResponse createDataStream​(CreateDataStreamRequest createDataStreamRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Creates a data stream using the Create Data Stream API. See Data Streams API on elastic.co
      Parameters:
      createDataStreamRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • createDataStreamAsync

      public org.elasticsearch.client.Cancellable createDataStreamAsync​(CreateDataStreamRequest createDataStreamRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously creates a data stream using the Create Data Stream API. See Data Streams API on elastic.co
      Parameters:
      createDataStreamRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteDataStream

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteDataStream​(DeleteDataStreamRequest deleteDataStreamRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deletes a data stream using the Delete Data Stream API. See Data Streams API on elastic.co
      Parameters:
      deleteDataStreamRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • deleteDataStreamAsync

      public org.elasticsearch.client.Cancellable deleteDataStreamAsync​(DeleteDataStreamRequest deleteDataStreamRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously deletes a data stream using the Delete Data Stream API. See Data Streams API on elastic.co
      Parameters:
      deleteDataStreamRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getDataStream

      public GetDataStreamResponse getDataStream​(GetDataStreamRequest dataStreamRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Gets one or more data streams using the Get Data Stream API. See Data Streams API on elastic.co
      Parameters:
      dataStreamRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getDataStreamAsync

      public org.elasticsearch.client.Cancellable getDataStreamAsync​(GetDataStreamRequest dataStreamRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetDataStreamResponse> listener)
      Asynchronously gets one or more data streams using the Get Data Stream API. See Data Streams API on elastic.co
      Parameters:
      dataStreamRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • dataStreamsStats

      public DataStreamsStatsResponse dataStreamsStats​(DataStreamsStatsRequest dataStreamsStatsRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Gets statistics about one or more data streams using the Get Data Streams Stats API. See Data Streams API on elastic.co
      Parameters:
      dataStreamsStatsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • dataStreamsStatsAsync

      public org.elasticsearch.client.Cancellable dataStreamsStatsAsync​(DataStreamsStatsRequest dataStreamsStatsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<DataStreamsStatsResponse> listener)
      Asynchronously gets statistics about one or more data streams using the Get Data Streams Stats API. See Data Streams API on elastic.co
      Parameters:
      dataStreamsStatsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • create

      @Deprecated public org.elasticsearch.action.admin.indices.create.CreateIndexResponse create​(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method create(CreateIndexRequest, RequestOptions) should be used instead, which accepts a new request object.
      Creates an index using the Create Index API. See Create Index API on elastic.co
      Parameters:
      createIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • createAsync

      @Deprecated public org.elasticsearch.client.Cancellable createAsync​(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.create.CreateIndexResponse> listener)
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method createAsync(CreateIndexRequest, RequestOptions, ActionListener) should be used instead, which accepts a new request object.
      Asynchronously creates an index using the Create Index API. See Create Index API on elastic.co
      Parameters:
      createIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putMapping

      public org.elasticsearch.action.support.master.AcknowledgedResponse putMapping​(PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Updates the mappings on an index using the Put Mapping API. See Put Mapping API on elastic.co
      Parameters:
      putMappingRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • putMappingAsync

      public org.elasticsearch.client.Cancellable putMappingAsync​(PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously updates the mappings on an index using the Put Mapping API. See Put Mapping API on elastic.co
      Parameters:
      putMappingRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putMapping

      @Deprecated public org.elasticsearch.action.support.master.AcknowledgedResponse putMapping​(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method putMapping(PutMappingRequest, RequestOptions) should be used instead, which accepts a new request object.
      Updates the mappings on an index using the Put Mapping API. See Put Mapping API on elastic.co
      Parameters:
      putMappingRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • putMappingAsync

      @Deprecated public org.elasticsearch.client.Cancellable putMappingAsync​(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method putMappingAsync(PutMappingRequest, RequestOptions, ActionListener) should be used instead, which accepts a new request object.
      Asynchronously updates the mappings on an index using the Put Mapping API. See Put Mapping API on elastic.co
      Parameters:
      putMappingRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getMapping

      public GetMappingsResponse getMapping​(GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Retrieves the mappings on an index or indices using the Get Mapping API. See Get Mapping API on elastic.co
      Parameters:
      getMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getMappingAsync

      public org.elasticsearch.client.Cancellable getMappingAsync​(GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetMappingsResponse> listener)
      Asynchronously retrieves the mappings on an index on indices using the Get Mapping API. See Get Mapping API on elastic.co
      Parameters:
      getMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getMapping

      @Deprecated public org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse getMapping​(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses old request and response objects which still refer to types, a deprecated feature. The method getMapping(GetMappingsRequest, RequestOptions) should be used instead, which accepts a new request object.
      Retrieves the mappings on an index or indices using the Get Mapping API. See Get Mapping API on elastic.co
      Parameters:
      getMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getMappingAsync

      @Deprecated public org.elasticsearch.client.Cancellable getMappingAsync​(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> listener)
      Deprecated.
      This method uses old request and response objects which still refer to types, a deprecated feature. The method getMapping(GetMappingsRequest, RequestOptions) should be used instead, which accepts a new request object.
      Asynchronously retrieves the mappings on an index on indices using the Get Mapping API. See Get Mapping API on elastic.co
      Parameters:
      getMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getFieldMapping

      @Deprecated public org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsResponse getFieldMapping​(org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses old request and response objects which still refer to types, a deprecated feature. The method getFieldMapping(GetFieldMappingsRequest, RequestOptions) should be used instead, which accepts a new request object.
      Retrieves the field mappings on an index or indices using the Get Field Mapping API. See Get Field Mapping API on elastic.co
      Parameters:
      getFieldMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getFieldMappingAsync

      @Deprecated public org.elasticsearch.client.Cancellable getFieldMappingAsync​(org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.mapping.get.GetFieldMappingsResponse> listener)
      Deprecated.
      This method uses old request and response objects which still refer to types, a deprecated feature. The method getFieldMappingAsync(GetFieldMappingsRequest, RequestOptions, ActionListener) should be used instead, which accepts a new request object.
      Asynchronously retrieves the field mappings on an index on indices using the Get Field Mapping API. See Get Field Mapping API on elastic.co
      Parameters:
      getFieldMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getFieldMapping

      public GetFieldMappingsResponse getFieldMapping​(GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Retrieves the field mappings on an index or indices using the Get Field Mapping API. See Get Field Mapping API on elastic.co
      Parameters:
      getFieldMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getFieldMappingAsync

      public org.elasticsearch.client.Cancellable getFieldMappingAsync​(GetFieldMappingsRequest getFieldMappingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetFieldMappingsResponse> listener)
      Asynchronously retrieves the field mappings on an index or indices using the Get Field Mapping API. See Get Field Mapping API on elastic.co
      Parameters:
      getFieldMappingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • updateAliases

      public org.elasticsearch.action.support.master.AcknowledgedResponse updateAliases​(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Updates aliases using the Index Aliases API. See Index Aliases API on elastic.co
      Parameters:
      indicesAliasesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • updateAliasesAsync

      public org.elasticsearch.client.Cancellable updateAliasesAsync​(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously updates aliases using the Index Aliases API. See Index Aliases API on elastic.co
      Parameters:
      indicesAliasesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • open

      public org.elasticsearch.action.admin.indices.open.OpenIndexResponse open​(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Opens an index using the Open Index API. See Open Index API on elastic.co
      Parameters:
      openIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • openAsync

      public org.elasticsearch.client.Cancellable openAsync​(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.open.OpenIndexResponse> listener)
      Asynchronously opens an index using the Open Index API. See Open Index API on elastic.co
      Parameters:
      openIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • close

      public CloseIndexResponse close​(CloseIndexRequest closeIndexRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Closes an index using the Close Index API. See Close Index API on elastic.co
      Parameters:
      closeIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • closeAsync

      public org.elasticsearch.client.Cancellable closeAsync​(CloseIndexRequest closeIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<CloseIndexResponse> listener)
      Asynchronously closes an index using the Close Index API. See Close Index API on elastic.co
      Parameters:
      closeIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • existsAlias

      public boolean existsAlias​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Checks if one or more aliases exist using the Aliases Exist API. See Indices Aliases API on elastic.co
      Parameters:
      getAliasesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request
    • existsAliasAsync

      public org.elasticsearch.client.Cancellable existsAliasAsync​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
      Asynchronously checks if one or more aliases exist using the Aliases Exist API. See Indices Aliases API on elastic.co
      Parameters:
      getAliasesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • refresh

      public org.elasticsearch.action.admin.indices.refresh.RefreshResponse refresh​(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Refresh one or more indices using the Refresh API. See Refresh API on elastic.co
      Parameters:
      refreshRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • refreshAsync

      public org.elasticsearch.client.Cancellable refreshAsync​(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.refresh.RefreshResponse> listener)
      Asynchronously refresh one or more indices using the Refresh API. See Refresh API on elastic.co
      Parameters:
      refreshRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • flush

      public org.elasticsearch.action.admin.indices.flush.FlushResponse flush​(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Flush one or more indices using the Flush API. See Flush API on elastic.co
      Parameters:
      flushRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • flushAsync

      public org.elasticsearch.client.Cancellable flushAsync​(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.flush.FlushResponse> listener)
      Asynchronously flush one or more indices using the Flush API. See Flush API on elastic.co
      Parameters:
      flushRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • flushSynced

      @Deprecated public SyncedFlushResponse flushSynced​(org.elasticsearch.action.admin.indices.flush.SyncedFlushRequest syncedFlushRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      synced flush is deprecated and will be removed in 8.0. Use flush(FlushRequest, RequestOptions) instead.
      Initiate a synced flush manually using the synced flush API. See Synced flush API on elastic.co
      Parameters:
      syncedFlushRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • flushSyncedAsync

      @Deprecated public org.elasticsearch.client.Cancellable flushSyncedAsync​(org.elasticsearch.action.admin.indices.flush.SyncedFlushRequest syncedFlushRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<SyncedFlushResponse> listener)
      Deprecated.
      synced flush is deprecated and will be removed in 8.0. Use flushAsync(FlushRequest, RequestOptions, ActionListener) instead.
      Asynchronously initiate a synced flush manually using the synced flush API. See Synced flush API on elastic.co
      Parameters:
      syncedFlushRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getSettings

      public org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse getSettings​(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Retrieve the settings of one or more indices. See Indices Get Settings API on elastic.co
      Parameters:
      getSettingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getSettingsAsync

      public org.elasticsearch.client.Cancellable getSettingsAsync​(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> listener)
      Asynchronously retrieve the settings of one or more indices. See Indices Get Settings API on elastic.co
      Parameters:
      getSettingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • get

      public GetIndexResponse get​(GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Retrieve information about one or more indexes See Indices Get Index API on elastic.co
      Parameters:
      getIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getAsync

      public org.elasticsearch.client.Cancellable getAsync​(GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetIndexResponse> listener)
      Retrieve information about one or more indexes See Indices Get Index API on elastic.co
      Parameters:
      getIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • get

      @Deprecated public org.elasticsearch.action.admin.indices.get.GetIndexResponse get​(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method get(GetIndexRequest, RequestOptions) should be used instead, which accepts a new request object.
      Retrieve information about one or more indexes See Indices Get Index API on elastic.co
      Parameters:
      getIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getAsync

      @Deprecated public org.elasticsearch.client.Cancellable getAsync​(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.get.GetIndexResponse> listener)
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method getAsync(GetIndexRequest, RequestOptions, ActionListener) should be used instead, which accepts a new request object.
      Retrieve information about one or more indexes See Indices Get Index API on elastic.co
      Parameters:
      getIndexRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • forceMerge

      @Deprecated public org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse forceMerge​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Force merge one or more indices using the Force Merge API. See Force Merge API on elastic.co
      Parameters:
      forceMergeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • forcemerge

      public org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse forcemerge​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Force merge one or more indices using the Force Merge API. See Force Merge API on elastic.co
      Parameters:
      forceMergeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • forceMergeAsync

      @Deprecated public org.elasticsearch.client.Cancellable forceMergeAsync​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse> listener)
      Asynchronously force merge one or more indices using the Force Merge API. See Force Merge API on elastic.co
      Parameters:
      forceMergeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • forcemergeAsync

      public org.elasticsearch.client.Cancellable forcemergeAsync​(org.elasticsearch.action.admin.indices.forcemerge.ForceMergeRequest forceMergeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.forcemerge.ForceMergeResponse> listener)
      Asynchronously force merge one or more indices using the Force Merge API. See Force Merge API on elastic.co
      Parameters:
      forceMergeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • clearCache

      public org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheResponse clearCache​(org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest clearIndicesCacheRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Clears the cache of one or more indices using the Clear Cache API. See Clear Cache API on elastic.co
      Parameters:
      clearIndicesCacheRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • clearCacheAsync

      public org.elasticsearch.client.Cancellable clearCacheAsync​(org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheRequest clearIndicesCacheRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.cache.clear.ClearIndicesCacheResponse> listener)
      Asynchronously clears the cache of one or more indices using the Clear Cache API. See Clear Cache API on elastic.co
      Parameters:
      clearIndicesCacheRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • exists

      public boolean exists​(GetIndexRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Checks if the index (indices) exists or not. See Indices Exists API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request
    • existsAsync

      public org.elasticsearch.client.Cancellable existsAsync​(GetIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
      Asynchronously checks if the index (indices) exists or not. See Indices Exists API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • exists

      @Deprecated public boolean exists​(org.elasticsearch.action.admin.indices.get.GetIndexRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method exists(GetIndexRequest, RequestOptions) should be used instead, which accepts a new request object.
      Checks if the index (indices) exists or not. See Indices Exists API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request
    • existsAsync

      @Deprecated public org.elasticsearch.client.Cancellable existsAsync​(org.elasticsearch.action.admin.indices.get.GetIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
      Deprecated.
      This method uses an old request object which still refers to types, a deprecated feature. The method existsAsync(GetIndexRequest, RequestOptions, ActionListener) should be used instead, which accepts a new request object.
      Asynchronously checks if the index (indices) exists or not. See Indices Exists API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • shrink

      public ResizeResponse shrink​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Shrinks an index using the Shrink Index API. See Shrink Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • shrink

      @Deprecated public org.elasticsearch.action.admin.indices.shrink.ResizeResponse shrink​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Shrinks an index using the Shrink Index API. See Shrink Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • shrinkAsync

      public org.elasticsearch.client.Cancellable shrinkAsync​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ResizeResponse> listener)
      Asynchronously shrinks an index using the Shrink index API. See Shrink Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • shrinkAsync

      @Deprecated public org.elasticsearch.client.Cancellable shrinkAsync​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.shrink.ResizeResponse> listener)
      Asynchronously shrinks an index using the Shrink index API. See Shrink Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • split

      public ResizeResponse split​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Splits an index using the Split Index API. See Split Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • split

      @Deprecated public org.elasticsearch.action.admin.indices.shrink.ResizeResponse split​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Splits an index using the Split Index API. See Split Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • splitAsync

      public org.elasticsearch.client.Cancellable splitAsync​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ResizeResponse> listener)
      Asynchronously splits an index using the Split Index API. See Split Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • splitAsync

      @Deprecated public org.elasticsearch.client.Cancellable splitAsync​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.shrink.ResizeResponse> listener)
      Asynchronously splits an index using the Split Index API. See Split Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • clone

      public ResizeResponse clone​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Clones an index using the Clone Index API. See Clone Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • clone

      @Deprecated public org.elasticsearch.action.admin.indices.shrink.ResizeResponse clone​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Clones an index using the Clone Index API. See Clone Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • cloneAsync

      public org.elasticsearch.client.Cancellable cloneAsync​(ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ResizeResponse> listener)
      Asynchronously clones an index using the Clone Index API. See Clone Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • cloneAsync

      @Deprecated public org.elasticsearch.client.Cancellable cloneAsync​(org.elasticsearch.action.admin.indices.shrink.ResizeRequest resizeRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.shrink.ResizeResponse> listener)
      Asynchronously clones an index using the Clone Index API. See Clone Index API on elastic.co
      Parameters:
      resizeRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • rollover

      public RolloverResponse rollover​(RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Rolls over an index using the Rollover Index API. See Rollover Index API on elastic.co
      Parameters:
      rolloverRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • rolloverAsync

      public org.elasticsearch.client.Cancellable rolloverAsync​(RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<RolloverResponse> listener)
      Asynchronously rolls over an index using the Rollover Index API. See Rollover Index API on elastic.co
      Parameters:
      rolloverRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • rollover

      @Deprecated public org.elasticsearch.action.admin.indices.rollover.RolloverResponse rollover​(org.elasticsearch.action.admin.indices.rollover.RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses deprecated request and response objects. The method rollover(RolloverRequest, RequestOptions) should be used instead, which accepts a new request object.
      Rolls over an index using the Rollover Index API. See Rollover Index API on elastic.co
      Parameters:
      rolloverRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • rolloverAsync

      @Deprecated public org.elasticsearch.client.Cancellable rolloverAsync​(org.elasticsearch.action.admin.indices.rollover.RolloverRequest rolloverRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.rollover.RolloverResponse> listener)
      Deprecated.
      This method uses deprecated request and response objects. The method rolloverAsync(RolloverRequest, RequestOptions, ActionListener) should be used instead, which accepts a new request object.
      Asynchronously rolls over an index using the Rollover Index API. See Rollover Index API on elastic.co
      Parameters:
      rolloverRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getAlias

      public GetAliasesResponse getAlias​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Gets one or more aliases using the Get Index Aliases API. See Indices Aliases API on elastic.co
      Parameters:
      getAliasesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getAliasAsync

      public org.elasticsearch.client.Cancellable getAliasAsync​(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetAliasesResponse> listener)
      Asynchronously gets one or more aliases using the Get Index Aliases API. See Indices Aliases API on elastic.co
      Parameters:
      getAliasesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putSettings

      public org.elasticsearch.action.support.master.AcknowledgedResponse putSettings​(org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequest updateSettingsRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Updates specific index level settings using the Update Indices Settings API. See Update Indices Settings API on elastic.co
      Parameters:
      updateSettingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • putSettingsAsync

      public org.elasticsearch.client.Cancellable putSettingsAsync​(org.elasticsearch.action.admin.indices.settings.put.UpdateSettingsRequest updateSettingsRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously updates specific index level settings using the Update Indices Settings API. See Update Indices Settings API on elastic.co
      Parameters:
      updateSettingsRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putTemplate

      @Deprecated public org.elasticsearch.action.support.master.AcknowledgedResponse putTemplate​(org.elasticsearch.action.admin.indices.template.put.PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This old form of request allows types in mappings. Use putTemplate(PutIndexTemplateRequest, RequestOptions) instead which introduces a new request object without types.
      Puts an index template using the Index Templates API. See Index Templates API on elastic.co
      Parameters:
      putIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • putTemplateAsync

      @Deprecated public org.elasticsearch.client.Cancellable putTemplateAsync​(org.elasticsearch.action.admin.indices.template.put.PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Deprecated.
      This old form of request allows types in mappings. Use putTemplateAsync(PutIndexTemplateRequest, RequestOptions, ActionListener) instead which introduces a new request object without types.
      Asynchronously puts an index template using the Index Templates API. See Index Templates API on elastic.co
      Parameters:
      putIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putTemplate

      public org.elasticsearch.action.support.master.AcknowledgedResponse putTemplate​(PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Puts an index template using the Index Templates API. See Index Templates API on elastic.co
      Parameters:
      putIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • putTemplateAsync

      public org.elasticsearch.client.Cancellable putTemplateAsync​(PutIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously puts an index template using the Index Templates API. See Index Templates API on elastic.co
      Parameters:
      putIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • putIndexTemplate

      public org.elasticsearch.action.support.master.AcknowledgedResponse putIndexTemplate​(PutComposableIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Puts an index template using the Index Templates API. See Index Templates API on elastic.co
      Parameters:
      putIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • putIndexTemplateAsync

      public org.elasticsearch.client.Cancellable putIndexTemplateAsync​(PutComposableIndexTemplateRequest putIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously puts an index template using the Index Templates API. See Index Templates API on elastic.co
      Parameters:
      putIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • simulateIndexTemplate

      public SimulateIndexTemplateResponse simulateIndexTemplate​(SimulateIndexTemplateRequest simulateIndexTemplateRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Simulates matching index name against the existing index templates in the system. See Index Templates API on elastic.co
      Parameters:
      simulateIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • simulateIndexTemplateAsync

      public org.elasticsearch.client.Cancellable simulateIndexTemplateAsync​(SimulateIndexTemplateRequest simulateIndexTemplateRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<SimulateIndexTemplateResponse> listener)
      Asynchronously simulates matching index name against the existing index templates in the system. See Index Templates API on elastic.co
      Parameters:
      simulateIndexTemplateRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • validateQuery

      public org.elasticsearch.action.admin.indices.validate.query.ValidateQueryResponse validateQuery​(org.elasticsearch.action.admin.indices.validate.query.ValidateQueryRequest validateQueryRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Validate a potentially expensive query without executing it.

      See Validate Query API on elastic.co

      Parameters:
      validateQueryRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • validateQueryAsync

      public org.elasticsearch.client.Cancellable validateQueryAsync​(org.elasticsearch.action.admin.indices.validate.query.ValidateQueryRequest validateQueryRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.validate.query.ValidateQueryResponse> listener)
      Asynchronously validate a potentially expensive query without executing it.

      See Validate Query API on elastic.co

      Parameters:
      validateQueryRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getTemplate

      @Deprecated public org.elasticsearch.action.admin.indices.template.get.GetIndexTemplatesResponse getTemplate​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Deprecated.
      This method uses an old response object which still refers to types, a deprecated feature. Use getIndexTemplate(GetIndexTemplatesRequest, RequestOptions) instead which returns a new response object
      Gets index templates using the Index Templates API. The mappings will be returned in a legacy deprecated format, where the mapping definition is nested under the type name. See Index Templates API on elastic.co
      Parameters:
      getIndexTemplatesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getIndexTemplate

      public GetComposableIndexTemplatesResponse getIndexTemplate​(GetComposableIndexTemplateRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Gets index templates using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      getIndexTemplatesRequest - the request
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getIndexTemplateAsync

      public org.elasticsearch.client.Cancellable getIndexTemplateAsync​(GetComposableIndexTemplateRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetComposableIndexTemplatesResponse> listener)
      Asynchronously gets index templates using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      getIndexTemplatesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getIndexTemplate

      public GetIndexTemplatesResponse getIndexTemplate​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Gets index templates using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      getIndexTemplatesRequest - the request
      Returns:
      the response
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • getTemplateAsync

      @Deprecated public org.elasticsearch.client.Cancellable getTemplateAsync​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.admin.indices.template.get.GetIndexTemplatesResponse> listener)
      Deprecated.
      This method uses an old response object which still refers to types, a deprecated feature. Use getIndexTemplateAsync(GetIndexTemplatesRequest, RequestOptions, ActionListener) instead which returns a new response object
      Asynchronously gets index templates using the Index Templates API. The mappings will be returned in a legacy deprecated format, where the mapping definition is nested under the type name. See Index Templates API on elastic.co
      Parameters:
      getIndexTemplatesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • getIndexTemplateAsync

      public org.elasticsearch.client.Cancellable getIndexTemplateAsync​(GetIndexTemplatesRequest getIndexTemplatesRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<GetIndexTemplatesResponse> listener)
      Asynchronously gets index templates using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      getIndexTemplatesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • existsTemplate

      public boolean existsTemplate​(IndexTemplatesExistRequest indexTemplatesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Uses the Index Templates API to determine if index templates exist
      Parameters:
      indexTemplatesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      true if any index templates in the request exist, false otherwise
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • existsTemplateAsync

      public org.elasticsearch.client.Cancellable existsTemplateAsync​(IndexTemplatesExistRequest indexTemplatesExistRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
      Uses the Index Templates API to determine if index templates exist
      Parameters:
      indexTemplatesExistRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion. The listener will be called with the value true
      Returns:
      cancellable that may be used to cancel the request
    • existsIndexTemplate

      public boolean existsIndexTemplate​(ComposableIndexTemplateExistRequest indexTemplatesRequest, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Uses the Index Templates API to determine if index templates exist
      Parameters:
      indexTemplatesRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Returns:
      true if any index templates in the request exist, false otherwise
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • existsIndexTemplateAsync

      public org.elasticsearch.client.Cancellable existsIndexTemplateAsync​(ComposableIndexTemplateExistRequest indexTemplatesExistRequest, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<java.lang.Boolean> listener)
      Uses the Index Templates API to determine if index templates exist
      Parameters:
      indexTemplatesExistRequest - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion. The listener will be called with the value true
      Returns:
      cancellable that may be used to cancel the request
    • analyze

      public AnalyzeResponse analyze​(AnalyzeRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Calls the analyze API See Analyze API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      java.io.IOException
    • analyzeAsync

      public org.elasticsearch.client.Cancellable analyzeAsync​(AnalyzeRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AnalyzeResponse> listener)
      Asynchronously calls the analyze API See Analyze API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • freeze

      public ShardsAcknowledgedResponse freeze​(FreezeIndexRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Synchronously calls the _freeze API
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      java.io.IOException
    • freezeAsync

      public org.elasticsearch.client.Cancellable freezeAsync​(FreezeIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ShardsAcknowledgedResponse> listener)
      Asynchronously calls the _freeze API
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • unfreeze

      public ShardsAcknowledgedResponse unfreeze​(UnfreezeIndexRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Synchronously calls the _unfreeze API
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      java.io.IOException
    • unfreezeAsync

      public org.elasticsearch.client.Cancellable unfreezeAsync​(UnfreezeIndexRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ShardsAcknowledgedResponse> listener)
      Asynchronously calls the _unfreeze API
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteTemplate

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteTemplate​(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Delete an index template using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • deleteTemplateAsync

      public org.elasticsearch.client.Cancellable deleteTemplateAsync​(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously delete an index template using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteIndexTemplate

      public org.elasticsearch.action.support.master.AcknowledgedResponse deleteIndexTemplate​(DeleteComposableIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Delete an index template using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      java.io.IOException - in case there is a problem sending the request or parsing back the response
    • deleteIndexTemplateAsync

      public org.elasticsearch.client.Cancellable deleteIndexTemplateAsync​(DeleteComposableIndexTemplateRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<org.elasticsearch.action.support.master.AcknowledgedResponse> listener)
      Asynchronously delete an index template using the Index Templates API See Index Templates API on elastic.co
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • reloadAnalyzers

      public ReloadAnalyzersResponse reloadAnalyzers​(ReloadAnalyzersRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Synchronously calls the _reload_search_analyzers API
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      java.io.IOException
    • reloadAnalyzersAsync

      public org.elasticsearch.client.Cancellable reloadAnalyzersAsync​(ReloadAnalyzersRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<ReloadAnalyzersResponse> listener)
      Asynchronously calls the _reload_search_analyzers API
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request
    • deleteAlias

      public AcknowledgedResponse deleteAlias​(DeleteAliasRequest request, org.elasticsearch.client.RequestOptions options) throws java.io.IOException
      Synchronously calls the delete alias api
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      Throws:
      java.io.IOException
    • deleteAliasAsync

      public org.elasticsearch.client.Cancellable deleteAliasAsync​(DeleteAliasRequest request, org.elasticsearch.client.RequestOptions options, org.elasticsearch.action.ActionListener<AcknowledgedResponse> listener)
      Asynchronously calls the delete alias api
      Parameters:
      request - the request
      options - the request options (e.g. headers), use RequestOptions.DEFAULT if nothing needs to be customized
      listener - the listener to be notified upon request completion
      Returns:
      cancellable that may be used to cancel the request