/// <summary> /// Requires a minimum number of active shards in the partition. /// It defaults to the node level setting of action.write_consistency, which in turn defaults to quorum. /// </summary> public DeleteByQueryCommand Consistency(WriteConsistency consistency) { WithParameter("consistency", consistency.AsString()); return(this); }
public IndexCommand Consistency(WriteConsistency consistency) { WithParameter("consistency", consistency.AsString()); return(this); }