/// <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);
 }
Esempio n. 2
0
 public IndexCommand Consistency(WriteConsistency consistency)
 {
     WithParameter("consistency", consistency.AsString());
     return(this);
 }