DBAtlas · 数据库运维图谱

更改刷新间隔

Elasticsearch索引生命周期

命令

PUT /customer/_settings
{
  "index": { "refresh_interval": "30s" }
}

作用

设置索引使新文档可被搜索的频率(refresh)。

适用场景

批量加载期间增大间隔以加快索引速度时。

注意

-1 会完全禁用 refresh;文档将无法被搜索。加载完成后将其恢复为合理的值。

在 DBAtlas 中打开 →

相关内容