bulk request does not refresh on shard replicas

This commit is contained in:
kimchy 2011-02-08 15:03:03 +02:00
parent 4084db378d
commit 18ff92662e
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ public class TransportShardBulkAction extends TransportShardReplicationOperation
} }
} }
indexShard.bulk(new Engine.Bulk(ops)); indexShard.bulk(new Engine.Bulk(ops).refresh(request.refresh()));
} }
private void updateMappingOnMaster(final IndexRequest request) { private void updateMappingOnMaster(final IndexRequest request) {