File tree 1 file changed +10
-2
lines changed
src/Nest/Indices/AliasManagement/Alias/Actions
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -24,17 +24,25 @@ public class AliasRemoveOperation
24
24
public IEnumerable < string > Aliases { get ; set ; }
25
25
26
26
/// <summary>
27
- /// The index to which to add the alias.
27
+ /// The index to which to remove the alias.
28
28
/// Multiple indices can be specified with <see cref="Indices"/>
29
29
/// </summary>
30
30
[ DataMember ( Name = "index" ) ]
31
31
public IndexName Index { get ; set ; }
32
32
33
33
/// <summary>
34
- /// The indices to which to add the alias
34
+ /// The indices to which to remove the alias
35
35
/// </summary>
36
36
[ DataMember ( Name = "indices" ) ]
37
37
[ JsonFormatter ( typeof ( IndicesFormatter ) ) ]
38
38
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 ; }
39
47
}
40
48
}
You can’t perform that action at this time.
0 commit comments