INNER CODE UNIT · Java
setForceIndex
dadoonet/spring-elasticsearch · src/main/java/fr/pilato/spring/elasticsearch/ElasticsearchClientFactoryBean.java:241
public void setForceIndex(boolean forceIndex) {
this.forceIndex = forceIndex;
}
/**
* Set to true if you want to try to merge index settings
* @param mergeSettings true if you want to try to merge index settings
*/
public void setMergeSettings(boolean mergeSettings) {
this.mergeSettings = mergeSettings;
}
/**
* Set to false if you want to use configuration instead of convention.
* @param autoscan false if you want to use configuration instead of convention.
* @deprecated you must use automatic discovery
*/
@Deprecated