当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- ado.net and asp.net The relationship between
- To teach you to easily understand the basic usage of Vue codemirror: mainly to achieve code editing, verification prompt, code formatting
- ES6 learning notes (5): easy to understand ES6's built-in extension objects
- Elasticsearch database | elasticsearch-7.5.0 application construction
- EOS founder BM: what's the difference between UE, UBI and URI?
- STM32F030F4P6兼容灵动微MM32F031F4P6
- Using iceberg on kubernetes to create a new generation of cloud original data Lake
- 意外的元素..所需元素..
- An article will take you to understand CSS3 fillet knowledge
- Zhou Jie: database system of East China Normal University
猜你喜欢
ES6 learning notes (5): easy to understand ES6's built-in extension objects
Detect certificate expiration script
迅为iMX6开发板-设备树内核-menuconfig的使用
【涂鸦物联网足迹】物联网基础介绍篇
An article will take you to understand SVG gradient knowledge
统计项目代码行数
All the way, I was forced to talk about C code debugging skills and remote debugging
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
GitHub: the foundation of the front end
Qt音视频开发46-视频传输UDP版
随机推荐
Using iceberg on kubernetes to create a new generation of cloud original data Lake
Understanding formatting principles
A concise tutorial for Nacos, ribbon and feign
移动端像素适配方案
Python basic data type -- tuple analysis
Method of code refactoring -- Analysis of method refactoring
window系统 本机查找端口号占用方法
An article will introduce you to HTML tables and their main attributes
意派Epub360丨你想要的H5模板都在这里,电子书、大转盘、红包雨、问卷调查……
2020 database technology conference helps technology upgrade
Stickinengine architecture 11 message queue
2020-08-15:什么情况下数据任务需要优化?
jenkins安装部署过程简记
To solve the problem that the data interface is not updated after WPF binding set
Qt音视频开发46-视频传输UDP版
预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用
The memorandum model of behavior model
image operating system windows cannot be used on this platform
How to prepare for the system design interview
Look! Internet, e-commerce offline big data analysis best practice! (Internet disk link attached)