/// <summary> /// Allows to define the sync or async replication of the operation /// When async the operation will return once it has be executed on the primary shard. /// The replication parameter can be set to async (defaults to sync) in order to enable it. /// </summary> public DeleteByQueryCommand Replication(DocumentReplication replication) { WithParameter("replication", replication.AsString()); return(this); }
public IndexCommand Replication(DocumentReplication replication) { WithParameter("replication", replication.AsString()); return(this); }