当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- What grammar is it? ]
- 意外的元素..所需元素..
- [elastic search engine]
- 2020-08-29:进程线程的区别,除了包含关系之外的一些区别,底层详细信息?
- Zero basis to build a web search engine of its own
- How does filecoin's economic model and future value support the price of fil currency breaking through thousands
- An article takes you to understand CSS gradient knowledge
- Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
- image operating system windows cannot be used on this platform
- 大数据处理黑科技:揭秘PB级数仓GaussDB(DWS) 并行计算技术
猜你喜欢
How to make characters move
An article will take you to understand CSS3 fillet knowledge
Zero basis to build a web search engine of its own
vue3 新特性
Bitcoin once exceeded 14000 US dollars and is about to face the test of the US election
ES中删除索引的mapping字段时应该考虑的点
How about small and medium-sized enterprises choose shared office?
How to prepare for the system design interview
Introduction to Huawei cloud micro certification examination
2020 database technology conference helps technology upgrade
随机推荐
Bitcoin once exceeded 14000 US dollars and is about to face the test of the US election
行为型模式之备忘录模式
实验一
2020-09-04:函数调用约定了解么?
2020 database technology conference helps technology upgrade
统计项目代码行数
What is the meaning of sector sealing of filecoin mining machine since the main network of filecoin was put online
Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
Filecoin has completed a major upgrade and achieved four major project progress!
Application insights application insights use application maps to build request link views
细数软件工程----各阶段必不可少的那些图
CloudQuery V1.2.0 版本发布
Message queue - Analysis
Using an example to understand the underlying processing mechanism of JS function
Zhou Jie: database system of East China Normal University
An article will take you to understand CSS alignment
list转换map(根据key来拆分list,相同key的value为一个list)
打工人好物——磨炼钢铁意志就要这样高效的电脑
All the way, I was forced to talk about C code debugging skills and remote debugging
[forward] how to view UserData in Lua