INNER CODE UNIT · Java
setAliases
dadoonet/spring-elasticsearch · src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchClientFactoryBean.java:297
public void setAliases(String[] aliases) {
this.aliases = aliases;
}
/**
* Define the index templates you want to manage with this factory
* in case you are not using automatic discovery (see {@link #setAutoscan(boolean)})
* @param indexTemplates list of index templates
* @deprecated you must use automatic discovery (see {@link #setAutoscan(boolean)})
*/
@Deprecated
public void setIndexTemplates(String[] indexTemplates) {
this.indexTemplates = indexTemplates;
}
/**
* Define component templates you want to manage with this factory
* in case you are not using automatic discovery (see {@link #setAutoscan(boolean)})