infinilabs / gateway

🚀 A High-performance gateway designed for search scenarios. Good friend of Elasticsearch/Opensearch/Easysearch.
https://www.infinilabs.com/en/docs/latest/gateway/
28 stars 3 forks source link

极限网关支持一键索引重建 #11

Open happyrita opened 2 years ago

happyrita commented 2 years ago

Description

大大好,看文档说极限网关支持一键索引重建,这个功能是怎么配置呢?现在我这里想对索引进行重建,这个索引又实时有数据写入,希望能够不间断业务可以达成这个目的。谢谢啦

Steps to reproduce

  1. Start INFINI Gateway
  2. Second step
  3. Third step

Expected behavior

A description of what you expected to happen.

Actual behavior

A description of what happens instead.

Environment

medcl commented 2 years ago

目前实现这个功能是可以的,不过一键还不行,我整理个教程吧

medcl commented 2 years ago

相关教程地址:https://infini-share.yuque.com/docs/share/0f954019-331c-4aea-a099-769629cc2560?# 队列的 offset 可以随时 reset 到 0,0, 就可以进行从头开始重建了。 重建过程中不影响正常读写,可以跨版本、跨集群。