.indexPrefix(elasticsearchConfiguration.getIndexPrefix())
.shards(elasticsearchConfiguration.getShards())
.replicas(elasticsearchConfiguration.getReplicas())
.rotationStrategy(getRotationStrategyConfig(indexManagementConfig))
.retentionStrategy(getRetentionStrategyConfig(indexManagementConfig))
<BUG>.creationDate(ZonedDateTime.now(ZoneOffset.UTC))
.build();</BUG>
final IndexSetConfig savedConfig = indexSetService.save(config);
clusterConfigService.write(DefaultIndexSetConfig.create(savedConfig.id()));
clusterConfigService.write(DefaultIndexSetCreated.create());

.indexPrefix(elasticsearchConfiguration.getIndexPrefix())
.shards(elasticsearchConfiguration.getShards())
.replicas(elasticsearchConfiguration.getReplicas())
.rotationStrategy(getRotationStrategyConfig(indexManagementConfig))
.retentionStrategy(getRetentionStrategyConfig(indexManagementConfig))
.creationDate(ZonedDateTime.now(ZoneOffset.UTC))
.indexAnalyzer(elasticsearchConfiguration.getAnalyzer())
.indexTemplateName(elasticsearchConfiguration.getTemplateName())
.indexOptimizationMaxNumSegments(elasticsearchConfiguration.getIndexOptimizationMaxNumSegments())
.indexOptimizationDisabled(elasticsearchConfiguration.isDisableIndexOptimization())
.build();
final IndexSetConfig savedConfig = indexSetService.save(config);
clusterConfigService.write(DefaultIndexSetConfig.create(savedConfig.id()));
clusterConfigService.write(DefaultIndexSetCreated.create());
