ODBC Driver for Elasticsearch

Build 24.0.9060

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.

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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060