Skip to content

Commit

Permalink
Add Configuration Fields For Suffixes
Browse files Browse the repository at this point in the history
Signed-off-by: Mahad Zaryab <[email protected]>
  • Loading branch information
mahadzaryab1 committed Jan 17, 2025
1 parent befc6bd commit ab1180b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/es/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ type Configuration struct {
// UseReadWriteAliases, if set to true, will use read and write aliases for indices.
// Use this option with Elasticsearch rollover API. It requires an external component
// to create aliases before startup and then performing its management.
UseReadWriteAliases bool `mapstructure:"use_aliases"`
UseReadWriteAliases bool `mapstructure:"use_aliases"`
ReadAliasSuffix string `mapstructure:"-"`
WriteAliasSuffix string `mapstructure:"-"`
// CreateIndexTemplates, if set to true, creates index templates at application startup.
// This configuration should be set to false when templates are installed manually.
CreateIndexTemplates bool `mapstructure:"create_mappings"`
Expand Down

0 comments on commit ab1180b

Please sign in to comment.