Index API: Don't wait for new mappings to be applied on the cluster by default, closes #1677.
This commit is contained in:
parent
7b3d9efe2e
commit
2ab3f533fe
|
@ -85,7 +85,7 @@ public class TransportIndexAction extends TransportShardReplicationOperationActi
|
||||||
this.mappingUpdatedAction = mappingUpdatedAction;
|
this.mappingUpdatedAction = mappingUpdatedAction;
|
||||||
this.autoCreateIndex = settings.getAsBoolean("action.auto_create_index", true);
|
this.autoCreateIndex = settings.getAsBoolean("action.auto_create_index", true);
|
||||||
this.allowIdGeneration = settings.getAsBoolean("action.allow_id_generation", true);
|
this.allowIdGeneration = settings.getAsBoolean("action.allow_id_generation", true);
|
||||||
this.waitForMappingChange = settings.getAsBoolean("action.wait_on_mapping_change", true);
|
this.waitForMappingChange = settings.getAsBoolean("action.wait_on_mapping_change", false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue