bulk request does not refresh on shard replicas
This commit is contained in:
parent
4084db378d
commit
18ff92662e
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue