Actually the annotation way currently isn't suitable for what I need, because of that I am using Spring Configuration YAML to manage multiple environments, so I need to override the index name by different one.