当前位置:网站首页>Points to be considered when deleting mapping field of index in ES
Points to be considered when deleting mapping field of index in ES
2020-11-06 21:45:00 【Architects who can drive】
- Create a new index
- New index create new mapping
- The source leads the data to the new index
- The new index creates the same alias as the original index
- Delete the original index
For step four : This will use the index alias , If you didn't consider designing index aliases when you first started building indexes , That's the cup .
You can set the name of the index to name_v1 Alias set to name, Then when accessing the search code, the connection is actually an alias name;
In this way, when you need to re create the index structure after adjustment , You can create a new index name_v2, And then after the data initialization is complete , Remove the alias from the original index , hold name_v2 The alias of is set to name, So the code doesn't have to be changed .
版权声明
本文为[Architects who can drive]所创,转载请带上原文链接,感谢
边栏推荐
- How about small and medium-sized enterprises choose shared office?
- File download manager realized by electron
- Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing
- What is the tensor in tensorflow?
- #JVM 类加载机制
- This project allows you to quickly learn about a programming language in a few minutes
- Summary of common SQL statements
- 2020-08-19:TCP是通过什么机制保障可靠性的?
- Common syntax corresponding table of mongodb and SQL
- Zero basis to build a web search engine of its own
猜你喜欢

超高频RFID医疗血液管理系统应用

迅为iMX6开发板-设备树内核-menuconfig的使用

统计项目代码行数

Axios learning notes (2): easy to understand the use of XHR and how to package simple Axios

How to play sortable JS vuedraggable to realize nested drag function of forms

How much disk space does a file of 1 byte actually occupy

How does cglib implement multiple agents?

The isolation level of transaction and its problems

mongo 用户权限 登录指令
![[elastic search engine]](/img/3b/00bc81122d330c9d59909994e61027.jpg)
[elastic search engine]
随机推荐
#JVM 类加载机制
2020-08-15:什么情况下数据任务需要优化?
Zhou Jie: database system of East China Normal University
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing
意外的元素..所需元素..
实验一
Git rebase is in trouble. What to do? Waiting line
An article takes you to understand CSS3 picture border
Hdu3974 assign the task segment tree DFS order
MRAM高速缓存的组成
事务的本质和死锁的原理
An article will take you to understand CSS alignment
File download manager realized by electron
意派Epub360丨你想要的H5模板都在这里,电子书、大转盘、红包雨、问卷调查……
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
Bitcoin once exceeded 14000 US dollars and is about to face the test of the US election
细数软件工程----各阶段必不可少的那些图
Novice guidance and event management system in game development
2020-08-14:数据任务的执行引擎用的哪些?