IndexTemplateInitializer

class IndexTemplateInitializer(elasticsearchOperations: ReactiveElasticsearchOperations, indexNaming: ElasticsearchIndexNaming)

Puts Wow's event stream and snapshot index templates. indexNaming prefixes the template names and their index_patterns; with ElasticsearchIndexNaming.DEFAULT they are wow-event-stream-template (wow.*.es) and wow-snapshot-template (wow.*.snapshot).

Constructors

Link copied to clipboard
constructor(elasticsearchOperations: ReactiveElasticsearchOperations, indexNaming: ElasticsearchIndexNaming)
constructor(elasticsearchOperations: ReactiveElasticsearchOperations)

The constructor from before the index prefix, kept for binary compatibility: Wow's unprefixed names.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun initAll()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun initTemplate(name: String, template: JsonNode): Mono<Boolean>

Puts template under name as it is: its index_patterns are not prefixed.