Index API: Don't wait for new mappings to be applied on the cluster by default, closes #1677.

This commit is contained in:
Shay Banon 2012-02-07 21:51:18 +02:00
parent 7b3d9efe2e
commit 2ab3f533fe
1 changed files with 1 additions and 1 deletions

View File

@ -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