max_docs
编辑max_docs编辑
action: rollover description: >- Rollover the index associated with alias 'aliasname', which should be in the form of prefix-000001 (or similar), or prefix-yyyy.MM.DD-1. options: name: aliasname conditions: max_docs: 1000000
索引中允许的最大文档数量,超过此数量将触发滚动。它 *必须* 嵌套在 conditions:
下。没有默认值。如果指定了此条件,则必须具有值,否则 Curator 将生成错误。