migration_prefix

编辑

此设置由 重新索引 操作使用。

如果目标索引设置为 MIGRATION,Curator 将依次重新索引所有选定的索引,直到所有索引都已重新索引。通过配置 migration_prefix,可以为每个索引名称添加一个前缀值。例如,如果我正在重新索引 index1index2index3,并且 migration_prefix 设置为 new-,则重新索引后的索引将命名为 new-index1new-index2new-index3

actions:
  1:
    description: >-
      Reindex index1, index2, and index3 with a prefix of new-, resulting in
      indices named new-index1, new-index2, and new-index3
    action: reindex
    options:
      wait_interval: 9
      max_wait: -1
      migration_prefix: new-
      request_body:
        source:
          index: ["index1", "index2", "index3"]
        dest:
          index: MIGRATION
    filters:
    - filtertype: none

migration_prefix 可以与 migration_suffix 结合使用。