All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.biacode.escommons.toolkit.component.EsCommonsClientWrapper.kt Maven / Gradle / Ivy

There is a newer version: 7.3.2_0.1.0
Show newest version
package org.biacode.escommons.toolkit.component

import org.elasticsearch.common.settings.Settings

/**
 * Created by Arthur Asatryan.
 * Date: 7/10/17
 * Time: 6:11 PM
 */
interface EsCommonsClientWrapper {
    fun createIndex(indexName: String, mappingsName: String): Boolean

    fun createIndex(indexName: String, mappingsName: String, settings: Settings): Boolean

    fun getIndices(): Set

    fun refreshIndex(indexName: String)

    fun addAlias(indexName: String, aliasName: String): Boolean

    fun removeAlias(indexName: String, aliasName: String): Boolean

    fun deleteIndices(vararg indexName: String): Boolean

    fun indexExists(indexName: String): Boolean
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy