V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Reminders

请教一下 ES 中的 rollover 问题

  •  
  •   Reminders · Aug 23, 2021 · 3706 views
    This topic created in 1721 days ago, the information mentioned may be changed or developed.

    各位大佬们,我想问咨询一个 ES 中 Index Lifecycle Manage 中的 rollover 问题。

    当前的情况:

    我们为每一个客户每一天都创建一个 index,( index 的创建是通过定义的 template 自动创建的),

    但是会存在有的客户某天或者某几天数据量特别大,使用一个 index 的话有些吃力,希望能够做到当某个 index

    数据超过一定数量后 rollover 到一个新的 index 上。

    我查了资料发现,实现 rollover 的话必须得创建一个写别名,在我的应用场景中,就是每个客户每天都要有个写别名,

    好像没法通过模版为每天的 index 自动创建一个写别名,想问下各位大佬有没有什么好的解决方案。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4071 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 04:18 · PVG 12:18 · LAX 21:18 · JFK 00:18
    ♥ Do have faith in what you're doing.