Class AliasAction.Add
- java.lang.Object
-
- org.elasticsearch.cluster.metadata.AliasAction
-
- org.elasticsearch.cluster.metadata.AliasAction.Add
-
- Enclosing class:
- AliasAction
public static class AliasAction.Add extends AliasAction
Operation to add an alias to an index.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.elasticsearch.cluster.metadata.AliasAction
AliasAction.Add, AliasAction.NewAliasValidator, AliasAction.Remove, AliasAction.RemoveIndex
-
-
Constructor Summary
Constructors Constructor Description Add(java.lang.String index, java.lang.String alias, java.lang.String filter, java.lang.String indexRouting, java.lang.String searchRouting, java.lang.Boolean writeIndex)
Build the operation.
-
Method Summary
Modifier and Type Method Description java.lang.String
getAlias()
Alias to add to the index.java.lang.Boolean
writeIndex()
-
Methods inherited from class org.elasticsearch.cluster.metadata.AliasAction
getIndex
-
-