From 2ab3f533fe81058fe401cfd629ebf61ce0364c9c Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Tue, 7 Feb 2012 21:51:18 +0200 Subject: [PATCH] Index API: Don't wait for new mappings to be applied on the cluster by default, closes #1677. --- .../org/elasticsearch/action/index/TransportIndexAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/action/index/TransportIndexAction.java b/src/main/java/org/elasticsearch/action/index/TransportIndexAction.java index c7d92a75b3e..fa1e4af6acb 100644 --- a/src/main/java/org/elasticsearch/action/index/TransportIndexAction.java +++ b/src/main/java/org/elasticsearch/action/index/TransportIndexAction.java @@ -85,7 +85,7 @@ public class TransportIndexAction extends TransportShardReplicationOperationActi this.mappingUpdatedAction = mappingUpdatedAction; this.autoCreateIndex = settings.getAsBoolean("action.auto_create_index", 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