ElasticsearchProperties

@ConfigurationProperties(prefix = "wow.elasticsearch")
class ElasticsearchProperties(var enabled: Boolean = true, var autoInitTemplate: Boolean = true, var compatibilityVersion: Int? = null, var indexPrefix: String? = null) : EnabledCapable

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, autoInitTemplate: Boolean = true, compatibilityVersion: Int? = null, indexPrefix: String? = null)
constructor(enabled: Boolean = true, autoInitTemplate: Boolean = true, compatibilityVersion: Int? = null)

The constructor from before the index prefix, kept for binary compatibility.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var enabled: Boolean
Link copied to clipboard

Put before every index, index template and index pattern Wow names on the cluster ({indexPrefix}wow.{context}.{aggregate}.snapshot, {indexPrefix}wow-snapshot-template, …), so that several deployments share one cluster. Unset or blank, the names are Wow's own. It must be a valid start of an index name (lowercase, none of \ / * ? " < > | , # : or whitespace, not starting with -, _, +, . or wow.); an invalid one fails startup.

Functions

Link copied to clipboard

The index naming indexPrefix gives; fails on an invalid prefix.