当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 非易失性MRAM存储器应用于各级高速缓存
- A concise tutorial for Nacos, ribbon and feign
- 2020-09-03:裸写算法:回形矩阵遍历。
- STM32F030C6T6兼容替换MM32SPIN05PF
- Some operations kept in mind by the front end foundation GitHub warehouse management
- ES中删除索引的mapping字段时应该考虑的点
- [learning] interface test case writing and testing concerns
- 预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用
- window系统 本机查找端口号占用方法
- Qt音视频开发46-视频传输UDP版
猜你喜欢
实验一
Basic usage of Vue codemirror: search function, code folding function, get editor value and verify in time
Contract trading system development | construction of smart contract trading platform
Introduction to Huawei cloud micro certification examination
预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用
#JVM 类加载机制
What are the highlights of Huawei mate 40 series with HMS?
递归、回溯算法常用数学基础公式
es创建新的索引库并拷贝旧的索引库 实践亲测有效!
Zero basis to build a web search engine of its own
随机推荐
迅为-iMX6ULL开发板上配置AP热点
es创建新的索引库并拷贝旧的索引库 实践亲测有效!
Unity performance optimization
STM32F030F4P6兼容灵动微MM32F031F4P6
An article takes you to understand CSS pagination examples
The role of theme music in games
How to play sortable JS vuedraggable to realize nested drag function of forms
How to start the hidden preferences in coda 2 on the terminal?
[elastic search engine]
GitHub: the foundation of the front end
How to manage the authority of database account?
Unexpected element.. required element
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
2020 database technology conference helps technology upgrade
移动端像素适配方案
消防器材RFID固定资产管理系统
NAND FLASH的接口控制设计
list转换map(根据key来拆分list,相同key的value为一个list)
[self taught unity2d legendary game development] map editor
Js数组-数组的用法全在这里(数组方法的重构、数组的遍历、数组的去重,数组的判断与转换)