ElasticsearchSnapshotIndexInitializer

class ElasticsearchSnapshotIndexInitializer(elasticsearchClient: ReactiveElasticsearchClient, resourceLocator: WowResourceLocator = WowResourceLocator(), namedAggregates: Iterable<NamedAggregate> = MetadataSearcher.namedAggregateType.keys, indexNaming: ElasticsearchIndexNaming) : ElasticsearchIndexInitializer

Creates the snapshot indices (wow.{context}.{aggregate}.snapshot) whose definitions are shipped, behind the deployment's index prefix.

Constructors

Link copied to clipboard
constructor(elasticsearchClient: ReactiveElasticsearchClient, resourceLocator: WowResourceLocator = WowResourceLocator(), namedAggregates: Iterable<NamedAggregate> = MetadataSearcher.namedAggregateType.keys, indexNaming: ElasticsearchIndexNaming)
constructor(elasticsearchClient: ReactiveElasticsearchClient, resourceLocator: WowResourceLocator = WowResourceLocator(), namedAggregates: Iterable<NamedAggregate> = MetadataSearcher.namedAggregateType.keys)

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