ElasticsearchCluster

class ElasticsearchCluster(transport: <ERROR CLASS>, compilers: CompilerSet?)

Functions

createIndex
Link copied to clipboard
suspend fun createIndex(indexName: String, mapping: Document, settings: Params = Params(), aliases: Params = Params(), waitForActiveShards: Boolean? = null, masterTimeout: String? = null, timeout: String? = null): CreateIndexResult
deleteIndex
Link copied to clipboard
suspend fun deleteIndex(indexName: String, allowNoIndices: Boolean? = null, masterTimeout: String? = null, timeout: String? = null): DeleteIndexResult
get
Link copied to clipboard
operator fun get(indexName: String): ElasticsearchIndex
getCompilers
Link copied to clipboard
suspend fun getCompilers(): CompilerSet
getVersion
Link copied to clipboard
suspend fun getVersion(): Version<*>
indexExists
Link copied to clipboard
suspend fun indexExists(indexName: String, allowNoIndices: Boolean? = null, ignoreUnavailable: Boolean? = null): Boolean
multiSearch
Link copied to clipboard
suspend fun multiSearch(searchQueries: List<SearchQueryWithIndex<*>>): MultiSearchQueryResult
updateMapping
Link copied to clipboard
suspend fun updateMapping(indexName: String, mapping: Document, allowNoIndices: Boolean? = null, ignoreUnavailable: Boolean? = null, writeIndexOnly: Boolean? = null, masterTimeout: String? = null, timeout: String? = null): UpdateMappingResult

Properties

serde
Link copied to clipboard
val serde: <ERROR CLASS>
transport
Link copied to clipboard
val transport: <ERROR CLASS>