JDBC Driver for Elasticsearch

Build 24.0.9062

ModifyIndexAliases

Submits an alias request to modify index aliases.

EXECUTE 例:

EXECUTE ModifyIndexAliases Action = 'add;add', Index = 'index_1;index_2', Alias = 'my_alias;my_alias' 

Note:Index パラメータは、パターンマッチングを実行して、一致するすべてのインデックスをエイリアスに追加するためのアスタリスク(*)文字をサポートします。

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.9062