ModifyIndexAliases
Submits an alias request to modify index aliases.
EXECUTE Example:
EXECUTE ModifyIndexAliases Action='add;add', Index='index_1;index_2', Alias='my_alias;my_alias'
Note: The Index parameter supports the asterisk (*) character to perform a pattern match to add all matching indices to the alias.
Note: This procedure makes use of indexed parameters. These input parameters are denoted with a '#' character at the end of their names.
Indexed parameters facilitate providing multiple instances a single parameter as inputs for the procedure.
Suppose there is an input parameter named Param#. Input multiple instances of an indexed parameter like this:
EXEC ProcedureName Param#1 = "value1", Param#2 = "value2", Param#3 = "value3"
Input
Name | Type | Description |
Action# | String | The action to perform such as 'add', 'remove', or 'remove_index'. Multiple actions are semi-colon separated. |
Index# | String | The name of the index. Multiple indexes are semi-colon separated. |
Alias# | String | The name of the alias. Multiple aliases are semi-colon separated. |
Filter# | String | A filter to use when creating the alias. This takes the raw JSON filter using Query DSL. Multiple filters are semi-colon separated. |
Routing# | String | The routing value to associate with the alias. Multiple routing values are semi-colon separated. |
SearchRouting# | String | The routing value to associate with the alias for searching operations. Multiple search routing values are semi-colon separated. |
IndexRouting# | String | The routing value to associate with the alias for indexing operations. Multiple index routing values are semi-colon separated. |
Result Set Columns
Name | Type | Description |
Success | String | Returns True if successful. |