INNER CODE UNIT · Java
setPassword
dadoonet/spring-elasticsearch · src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchClientFactoryBean.java:275
public void setPassword(String password) {
this.password = password;
}
/**
* Define indices you want to manage with this factory
* in case you are not using automatic discovery (see {@link #setAutoscan(boolean)})
* @param indices Array of index names
* @deprecated you must use automatic discovery (see {@link #setAutoscan(boolean)})
*/
@Deprecated
public void setIndices(String[] indices) {
this.indices = indices;
}
/**
* Define aliases you want to manage with this factory
* in case you are not using automatic discovery (see {@link #setAutoscan(boolean)})