Interface ReactiveElasticsearchClient.Indices

All Known Implementing Classes:
DefaultReactiveElasticsearchClient
Enclosing interface:
ReactiveElasticsearchClient

public static interface ReactiveElasticsearchClient.Indices
Encapsulation of methods for accessing the Indices API.
Author:
Christoph Strobl
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default reactor.core.publisher.Mono<Void>
    closeIndex(Consumer<org.elasticsearch.action.admin.indices.close.CloseIndexRequest> consumer)
    Execute the given CloseIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Void>
    closeIndex(org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest)
    Execute the given CloseIndexRequest against the indices API.
    reactor.core.publisher.Mono<Void>
    closeIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest)
    Execute the given CloseIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    createIndex(Consumer<org.elasticsearch.action.admin.indices.create.CreateIndexRequest> consumer)
    Deprecated.
    since 4.2
    default reactor.core.publisher.Mono<Boolean>
    createIndex(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest)
    Deprecated.
    default reactor.core.publisher.Mono<Boolean>
    createIndex(org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest)
    Execute the given CreateIndexRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    createIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest)
    reactor.core.publisher.Mono<Boolean>
    createIndex(HttpHeaders headers, org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest)
    Execute the given CreateIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    deleteIndex(Consumer<org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest> consumer)
    Execute the given DeleteIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    deleteIndex(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest)
    Execute the given DeleteIndexRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    deleteIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest)
    Execute the given DeleteIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    deleteTemplate(Consumer<org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest> consumer)
    Execute the given DeleteIndexTemplateRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    deleteTemplate(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest)
    Execute the given DeleteIndexTemplateRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    deleteTemplate(HttpHeaders headers, org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest)
    Execute the given DeleteIndexTemplateRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    existsIndex(Consumer<org.elasticsearch.action.admin.indices.get.GetIndexRequest> consumer)
    Deprecated.
    since 4.2
    default reactor.core.publisher.Mono<Boolean>
    existsIndex(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest)
    Deprecated.
    default reactor.core.publisher.Mono<Boolean>
    existsIndex(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
    Execute the given GetIndexRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    existsIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest)
    Deprecated.
    reactor.core.publisher.Mono<Boolean>
    existsIndex(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
    Execute the given GetIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    existsTemplate(Consumer<org.elasticsearch.client.indices.IndexTemplatesExistRequest> consumer)
    Execute the given IndexTemplatesExistRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    existsTemplate(org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest)
    Execute the given IndexTemplatesExistRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    existsTemplate(HttpHeaders headers, org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest)
    Execute the given IndexTemplatesExistRequest against the indices API.
    default reactor.core.publisher.Mono<Void>
    flushIndex(Consumer<org.elasticsearch.action.admin.indices.flush.FlushRequest> consumer)
    Execute the given FlushRequest against the indices API.
    default reactor.core.publisher.Mono<Void>
    flushIndex(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest)
    Execute the given RefreshRequest against the indices API.
    reactor.core.publisher.Mono<Void>
    flushIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest)
    Execute the given RefreshRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse>
    getAliases(Consumer<org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest> consumer)
    Execute the given GetAliasesRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse>
    getAliases(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest)
    Execute the given GetAliasesRequest against the indices API.
    reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse>
    getAliases(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest)
    Execute the given GetAliasesRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse>
    getFieldMapping(Consumer<org.elasticsearch.client.indices.GetFieldMappingsRequest> consumer)
    Execute the given GetFieldMappingsRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse>
    getFieldMapping(org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest)
    Execute the given GetFieldMappingsRequest against the indices API.
    reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse>
    getFieldMapping(HttpHeaders headers, org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest)
    Execute the given GetFieldMappingsRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse>
    getIndex(Consumer<org.elasticsearch.client.indices.GetIndexRequest> consumer)
    Execute the given GetIndexRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse>
    getIndex(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
    Execute the given GetIndexRequest against the indices API.
    reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse>
    getIndex(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
    Execute the given GetIndexRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse>
    getMapping(Consumer<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest> consumer)
    Deprecated.
    since 4.2
    default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse>
    getMapping(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest)
    Deprecated.
    default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse>
    getMapping(org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest)
    Execute the given GetMappingsRequest against the indices API.
    reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse>
    getMapping(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest)
    reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse>
    getMapping(HttpHeaders headers, org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest)
    Execute the given GetMappingsRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse>
    getSettings(Consumer<org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest> consumer)
    Execute the given GetSettingsRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse>
    getSettings(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest)
    Execute the given GetSettingsRequest against the indices API.
    reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse>
    getSettings(HttpHeaders headers, org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest)
    Execute the given GetSettingsRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse>
    getTemplate(Consumer<org.elasticsearch.client.indices.GetIndexTemplatesRequest> consumer)
    Execute the given GetIndexTemplatesRequest against the indices API.
    default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse>
    getTemplate(org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest)
    Execute the given GetIndexTemplatesRequest against the indices API.
    reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse>
    getTemplate(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest)
    Execute the given GetIndexTemplatesRequest against the indices API.
    default reactor.core.publisher.Mono<Void>
    openIndex(Consumer<org.elasticsearch.action.admin.indices.open.OpenIndexRequest> consumer)
    Execute the given OpenIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Void>
    openIndex(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest)
    Execute the given OpenIndexRequest against the indices API.
    reactor.core.publisher.Mono<Void>
    openIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest)
    Execute the given OpenIndexRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    putMapping(Consumer<org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest> consumer)
    Deprecated.
    since 4.2
    default reactor.core.publisher.Mono<Boolean>
    putMapping(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest)
    Deprecated.
    default reactor.core.publisher.Mono<Boolean>
    putMapping(org.elasticsearch.client.indices.PutMappingRequest putMappingRequest)
    Execute the given PutMappingRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    putMapping(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest)
    Deprecated.
    reactor.core.publisher.Mono<Boolean>
    putMapping(HttpHeaders headers, org.elasticsearch.client.indices.PutMappingRequest putMappingRequest)
    Execute the given PutMappingRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    putTemplate(Consumer<org.elasticsearch.client.indices.PutIndexTemplateRequest> consumer, String templateName)
    Execute the given PutIndexTemplateRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    putTemplate(org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest)
    Execute the given PutIndexTemplateRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    putTemplate(HttpHeaders headers, org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest)
    Execute the given PutIndexTemplateRequest against the indices API.
    default reactor.core.publisher.Mono<Void>
    refreshIndex(Consumer<org.elasticsearch.action.admin.indices.refresh.RefreshRequest> consumer)
    Execute the given RefreshRequest against the indices API.
    default reactor.core.publisher.Mono<Void>
    refreshIndex(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest)
    Execute the given RefreshRequest against the indices API.
    reactor.core.publisher.Mono<Void>
    refreshIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest)
    Execute the given RefreshRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    updateAliases(Consumer<org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest> consumer)
    Execute the given IndicesAliasesRequest against the indices API.
    default reactor.core.publisher.Mono<Boolean>
    updateAliases(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest)
    Execute the given IndicesAliasesRequest against the indices API.
    reactor.core.publisher.Mono<Boolean>
    updateAliases(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest)
    Execute the given IndicesAliasesRequest against the indices API.
  • Method Details

    • existsIndex

      @Deprecated default reactor.core.publisher.Mono<Boolean> existsIndex(Consumer<org.elasticsearch.action.admin.indices.get.GetIndexRequest> consumer)
      Deprecated.
      since 4.2
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      the Mono emitting true if the index exists, false otherwise.
      See Also:
    • existsIndex

      @Deprecated default reactor.core.publisher.Mono<Boolean> existsIndex(org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest)
      Deprecated.
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      getIndexRequest - must not be null.
      Returns:
      the Mono emitting true if the index exists, false otherwise.
      See Also:
    • existsIndex

      @Deprecated reactor.core.publisher.Mono<Boolean> existsIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.get.GetIndexRequest getIndexRequest)
      Deprecated.
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getIndexRequest - must not be null.
      Returns:
      the Mono emitting true if the index exists, false otherwise.
      See Also:
    • existsIndex

      default reactor.core.publisher.Mono<Boolean> existsIndex(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      getIndexRequest - must not be null.
      Returns:
      the Mono emitting true if the index exists, false otherwise.
      Since:
      4.2
      See Also:
    • existsIndex

      reactor.core.publisher.Mono<Boolean> existsIndex(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getIndexRequest - must not be null.
      Returns:
      the Mono emitting true if the index exists, false otherwise.
      Since:
      4.2
      See Also:
    • deleteIndex

      default reactor.core.publisher.Mono<Boolean> deleteIndex(Consumer<org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest> consumer)
      Execute the given DeleteIndexRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • deleteIndex

      default reactor.core.publisher.Mono<Boolean> deleteIndex(org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest)
      Execute the given DeleteIndexRequest against the indices API.
      Parameters:
      deleteIndexRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • deleteIndex

      reactor.core.publisher.Mono<Boolean> deleteIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.delete.DeleteIndexRequest deleteIndexRequest)
      Execute the given DeleteIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      deleteIndexRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • createIndex

      @Deprecated default reactor.core.publisher.Mono<Boolean> createIndex(Consumer<org.elasticsearch.action.admin.indices.create.CreateIndexRequest> consumer)
      Deprecated.
      since 4.2
      Execute the given CreateIndexRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling successful operation completion or an error if eg. the index already exist.
      See Also:
    • createIndex

      @Deprecated default reactor.core.publisher.Mono<Boolean> createIndex(org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest)
      Deprecated.
      Execute the given CreateIndexRequest against the indices API.
      Parameters:
      createIndexRequest - must not be null.
      Returns:
      a Mono signalling successful operation completion or an error if eg. the index already exist.
      See Also:
    • createIndex

      @Deprecated reactor.core.publisher.Mono<Boolean> createIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.create.CreateIndexRequest createIndexRequest)
      Execute the given CreateIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      createIndexRequest - must not be null.
      Returns:
      a Mono signalling successful operation completion or an error if eg. the index already exist.
      See Also:
    • createIndex

      default reactor.core.publisher.Mono<Boolean> createIndex(org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest)
      Execute the given CreateIndexRequest against the indices API.
      Parameters:
      createIndexRequest - must not be null.
      Returns:
      a Mono signalling successful operation completion or an error if eg. the index already exist.
      Since:
      4.2
      See Also:
    • createIndex

      reactor.core.publisher.Mono<Boolean> createIndex(HttpHeaders headers, org.elasticsearch.client.indices.CreateIndexRequest createIndexRequest)
      Execute the given CreateIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      createIndexRequest - must not be null.
      Returns:
      a Mono signalling successful operation completion or an error if eg. the index already exist.
      Since:
      4.2
      See Also:
    • openIndex

      default reactor.core.publisher.Mono<Void> openIndex(Consumer<org.elasticsearch.action.admin.indices.open.OpenIndexRequest> consumer)
      Execute the given OpenIndexRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • openIndex

      default reactor.core.publisher.Mono<Void> openIndex(org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest)
      Execute the given OpenIndexRequest against the indices API.
      Parameters:
      openIndexRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • openIndex

      reactor.core.publisher.Mono<Void> openIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.open.OpenIndexRequest openIndexRequest)
      Execute the given OpenIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      openIndexRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • closeIndex

      default reactor.core.publisher.Mono<Void> closeIndex(Consumer<org.elasticsearch.action.admin.indices.close.CloseIndexRequest> consumer)
      Execute the given CloseIndexRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • closeIndex

      default reactor.core.publisher.Mono<Void> closeIndex(org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest)
      Execute the given CloseIndexRequest against the indices API.
      Parameters:
      closeIndexRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • closeIndex

      reactor.core.publisher.Mono<Void> closeIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.close.CloseIndexRequest closeIndexRequest)
      Execute the given CloseIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      closeIndexRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • refreshIndex

      default reactor.core.publisher.Mono<Void> refreshIndex(Consumer<org.elasticsearch.action.admin.indices.refresh.RefreshRequest> consumer)
      Execute the given RefreshRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • refreshIndex

      default reactor.core.publisher.Mono<Void> refreshIndex(org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest)
      Execute the given RefreshRequest against the indices API.
      Parameters:
      refreshRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • refreshIndex

      reactor.core.publisher.Mono<Void> refreshIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.refresh.RefreshRequest refreshRequest)
      Execute the given RefreshRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      refreshRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • putMapping

      @Deprecated default reactor.core.publisher.Mono<Boolean> putMapping(Consumer<org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest> consumer)
      Deprecated.
      since 4.2
      Execute the given PutMappingRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • putMapping

      @Deprecated default reactor.core.publisher.Mono<Boolean> putMapping(org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest)
      Deprecated.
      Execute the given PutMappingRequest against the indices API.
      Parameters:
      putMappingRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • putMapping

      @Deprecated reactor.core.publisher.Mono<Boolean> putMapping(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.put.PutMappingRequest putMappingRequest)
      Deprecated.
      Execute the given PutMappingRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      putMappingRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • putMapping

      default reactor.core.publisher.Mono<Boolean> putMapping(org.elasticsearch.client.indices.PutMappingRequest putMappingRequest)
      Execute the given PutMappingRequest against the indices API.
      Parameters:
      putMappingRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.2
      See Also:
    • putMapping

      reactor.core.publisher.Mono<Boolean> putMapping(HttpHeaders headers, org.elasticsearch.client.indices.PutMappingRequest putMappingRequest)
      Execute the given PutMappingRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      putMappingRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.2
      See Also:
    • flushIndex

      default reactor.core.publisher.Mono<Void> flushIndex(Consumer<org.elasticsearch.action.admin.indices.flush.FlushRequest> consumer)
      Execute the given FlushRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • flushIndex

      default reactor.core.publisher.Mono<Void> flushIndex(org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest)
      Execute the given RefreshRequest against the indices API.
      Parameters:
      flushRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • flushIndex

      reactor.core.publisher.Mono<Void> flushIndex(HttpHeaders headers, org.elasticsearch.action.admin.indices.flush.FlushRequest flushRequest)
      Execute the given RefreshRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      flushRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      See Also:
    • getSettings

      default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> getSettings(Consumer<org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest> consumer)
      Execute the given GetSettingsRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.1
      See Also:
    • getSettings

      default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> getSettings(org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest)
      Execute the given GetSettingsRequest against the indices API.
      Parameters:
      getSettingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.1
      See Also:
    • getSettings

      reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.settings.get.GetSettingsResponse> getSettings(HttpHeaders headers, org.elasticsearch.action.admin.indices.settings.get.GetSettingsRequest getSettingsRequest)
      Execute the given GetSettingsRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getSettingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.1
      See Also:
    • getMapping

      @Deprecated default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> getMapping(Consumer<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest> consumer)
      Deprecated.
      since 4.2
      Execute the given GetMappingsRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.1
      See Also:
    • getMapping

      @Deprecated default reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> getMapping(org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest)
      Deprecated.
      Execute the given GetMappingsRequest against the indices API.
      Parameters:
      getMappingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.1
      See Also:
    • getMapping

      @Deprecated reactor.core.publisher.Mono<org.elasticsearch.action.admin.indices.mapping.get.GetMappingsResponse> getMapping(HttpHeaders headers, org.elasticsearch.action.admin.indices.mapping.get.GetMappingsRequest getMappingsRequest)
      Execute the given GetMappingsRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getMappingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.1
      See Also:
    • getMapping

      default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse> getMapping(org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest)
      Execute the given GetMappingsRequest against the indices API.
      Parameters:
      getMappingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.2
      See Also:
    • getMapping

      reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetMappingsResponse> getMapping(HttpHeaders headers, org.elasticsearch.client.indices.GetMappingsRequest getMappingsRequest)
      Execute the given GetMappingsRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getMappingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.2
      See Also:
    • getFieldMapping

      default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse> getFieldMapping(Consumer<org.elasticsearch.client.indices.GetFieldMappingsRequest> consumer)
      Execute the given GetFieldMappingsRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.2
      See Also:
    • getFieldMapping

      default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse> getFieldMapping(org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest)
      Execute the given GetFieldMappingsRequest against the indices API.
      Parameters:
      getFieldMappingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.2
      See Also:
    • getFieldMapping

      reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetFieldMappingsResponse> getFieldMapping(HttpHeaders headers, org.elasticsearch.client.indices.GetFieldMappingsRequest getFieldMappingsRequest)
      Execute the given GetFieldMappingsRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getFieldMappingsRequest - must not be null.
      Returns:
      a Mono signalling operation completion or an error if eg. the index does not exist.
      Since:
      4.2
      See Also:
    • updateAliases

      default reactor.core.publisher.Mono<Boolean> updateAliases(Consumer<org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest> consumer)
      Execute the given IndicesAliasesRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • updateAliases

      default reactor.core.publisher.Mono<Boolean> updateAliases(org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest)
      Execute the given IndicesAliasesRequest against the indices API.
      Parameters:
      indicesAliasesRequest - must not be null
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • updateAliases

      reactor.core.publisher.Mono<Boolean> updateAliases(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.IndicesAliasesRequest indicesAliasesRequest)
      Execute the given IndicesAliasesRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      indicesAliasesRequest - must not be null
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • getAliases

      default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse> getAliases(Consumer<org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest> consumer)
      Execute the given GetAliasesRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • getAliases

      default reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse> getAliases(org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest)
      Execute the given GetAliasesRequest against the indices API.
      Parameters:
      getAliasesRequest - must not be null
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • getAliases

      reactor.core.publisher.Mono<org.elasticsearch.client.GetAliasesResponse> getAliases(HttpHeaders headers, org.elasticsearch.action.admin.indices.alias.get.GetAliasesRequest getAliasesRequest)
      Execute the given GetAliasesRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getAliasesRequest - must not be null
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • putTemplate

      default reactor.core.publisher.Mono<Boolean> putTemplate(Consumer<org.elasticsearch.client.indices.PutIndexTemplateRequest> consumer, String templateName)
      Execute the given PutIndexTemplateRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • putTemplate

      default reactor.core.publisher.Mono<Boolean> putTemplate(org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest)
      Execute the given PutIndexTemplateRequest against the indices API.
      Parameters:
      putIndexTemplateRequest - must not be null
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • putTemplate

      reactor.core.publisher.Mono<Boolean> putTemplate(HttpHeaders headers, org.elasticsearch.client.indices.PutIndexTemplateRequest putIndexTemplateRequest)
      Execute the given PutIndexTemplateRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      putIndexTemplateRequest - must not be null
      Returns:
      a Mono signalling operation completion.
      Since:
      4.1
    • getTemplate

      default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse> getTemplate(Consumer<org.elasticsearch.client.indices.GetIndexTemplatesRequest> consumer)
      Execute the given GetIndexTemplatesRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      a Mono with the GetIndexTemplatesResponse.
      Since:
      4.1
    • getTemplate

      default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse> getTemplate(org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest)
      Execute the given GetIndexTemplatesRequest against the indices API.
      Parameters:
      getIndexTemplatesRequest - must not be null
      Returns:
      a Mono with the GetIndexTemplatesResponse.
      Since:
      4.1
    • getTemplate

      reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexTemplatesResponse> getTemplate(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexTemplatesRequest getIndexTemplatesRequest)
      Execute the given GetIndexTemplatesRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getIndexTemplatesRequest - must not be null
      Returns:
      a Mono with the GetIndexTemplatesResponse.
      Since:
      4.1
    • existsTemplate

      default reactor.core.publisher.Mono<Boolean> existsTemplate(Consumer<org.elasticsearch.client.indices.IndexTemplatesExistRequest> consumer)
      Execute the given IndexTemplatesExistRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      the Mono emitting true if the template exists, false otherwise.
      Since:
      4.1
    • existsTemplate

      default reactor.core.publisher.Mono<Boolean> existsTemplate(org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest)
      Execute the given IndexTemplatesExistRequest against the indices API.
      Parameters:
      indexTemplatesExistRequest - must not be null
      Returns:
      the Mono emitting true if the template exists, false otherwise.
      Since:
      4.1
    • existsTemplate

      reactor.core.publisher.Mono<Boolean> existsTemplate(HttpHeaders headers, org.elasticsearch.client.indices.IndexTemplatesExistRequest indexTemplatesExistRequest)
      Execute the given IndexTemplatesExistRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      indexTemplatesExistRequest - must not be null
      Returns:
      the Mono emitting true if the template exists, false otherwise.
      Since:
      4.1
    • deleteTemplate

      default reactor.core.publisher.Mono<Boolean> deleteTemplate(Consumer<org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest> consumer)
      Execute the given DeleteIndexTemplateRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      the Mono emitting true if the template exists, false otherwise.
      Since:
      4.1
    • deleteTemplate

      default reactor.core.publisher.Mono<Boolean> deleteTemplate(org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest)
      Execute the given DeleteIndexTemplateRequest against the indices API.
      Parameters:
      deleteIndexTemplateRequest - must not be null
      Returns:
      the Mono emitting true if the template exists, false otherwise.
      Since:
      4.1
    • deleteTemplate

      reactor.core.publisher.Mono<Boolean> deleteTemplate(HttpHeaders headers, org.elasticsearch.action.admin.indices.template.delete.DeleteIndexTemplateRequest deleteIndexTemplateRequest)
      Execute the given DeleteIndexTemplateRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      deleteIndexTemplateRequest - must not be null
      Returns:
      the Mono emitting true if the template exists, false otherwise.
      Since:
      4.1
    • getIndex

      default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse> getIndex(Consumer<org.elasticsearch.client.indices.GetIndexRequest> consumer)
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      consumer - never null.
      Returns:
      the Mono emitting the response
      Since:
      4.2
    • getIndex

      default reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse> getIndex(org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      getIndexRequest - must not be null
      Returns:
      the Mono emitting the response
      Since:
      4.2
    • getIndex

      reactor.core.publisher.Mono<org.elasticsearch.client.indices.GetIndexResponse> getIndex(HttpHeaders headers, org.elasticsearch.client.indices.GetIndexRequest getIndexRequest)
      Execute the given GetIndexRequest against the indices API.
      Parameters:
      headers - Use HttpHeaders to provide eg. authentication data. Must not be null.
      getIndexRequest - must not be null
      Returns:
      the Mono emitting the response
      Since:
      4.2