File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
src/Nest/Indices/AliasManagement/Alias/Actions Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,25 @@ public class AliasRemoveOperation
2424 public IEnumerable < string > Aliases { get ; set ; }
2525
2626 /// <summary>
27- /// The index to which to add the alias.
27+ /// The index to which to remove the alias.
2828 /// Multiple indices can be specified with <see cref="Indices"/>
2929 /// </summary>
3030 [ DataMember ( Name = "index" ) ]
3131 public IndexName Index { get ; set ; }
3232
3333 /// <summary>
34- /// The indices to which to add the alias
34+ /// The indices to which to remove the alias
3535 /// </summary>
3636 [ DataMember ( Name = "indices" ) ]
3737 [ JsonFormatter ( typeof ( IndicesFormatter ) ) ]
3838 public Indices Indices { get ; set ; }
39+
40+ /// <summary>
41+ /// If <c>true</c>, the alias to remove must exist. Defaults to <c>false</c>.
42+ /// <para />
43+ /// Valid in Elasticsearch 7.9.0+
44+ /// </summary>
45+ [ DataMember ( Name = "must_exist" ) ]
46+ public bool ? MustExist { get ; set ; }
3947 }
4048}
You can’t perform that action at this time.
0 commit comments