当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- window系统 本机查找端口号占用方法
- 2020 database technology conference helps technology upgrade
- The memorandum model of behavior model
- What is the tensor in tensorflow?
- STM32F030K6T6兼容替换灵动MM32F031K6T6
- 意派Epub360丨你想要的H5模板都在这里,电子书、大转盘、红包雨、问卷调查……
- Zhou Jie: database system of East China Normal University
- Summary of front-end performance optimization that every front-end engineer should understand:
- Introduction to Huawei cloud micro certification examination
- 递归、回溯算法常用数学基础公式
猜你喜欢
To solve the problem that the data interface is not updated after WPF binding set
ado.net和asp.net的关系
Vue communication and cross component listening state Vue communication
ES中删除索引的mapping字段时应该考虑的点
事务的本质和死锁的原理
ORA-02292: 违反完整约束条件 (MIDBJDEV2.SYS_C0020757) - 已找到子记录
2020-08-14:数据任务的执行引擎用的哪些?
Road to simple HTML + JS to achieve the most simple game Tetris
Js字符串-String字符串对象方法
Can you do it with only six characters?
随机推荐
Big data processing black Technology: revealing the parallel computing technology of Pb level data warehouse gaussdb (DWS)
Zero basis to build a web search engine of its own
es创建新的索引库并拷贝旧的索引库 实践亲测有效!
Python basic variable type -- list analysis
Unexpected element.. required element
An article takes you to understand CSS pagination examples
Message queue - Analysis
[self taught unity2d legendary game development] map editor
2020-09-09:裸写算法:两个线程轮流打印数字1-100。
vue3 新特性
Summary of common SQL statements
#JVM 类加载机制
【涂鸦物联网足迹】物联网基础介绍篇
Metersphere developer's Manual
Qt音视频开发46-视频传输UDP版
行为型模式之备忘录模式
This project allows you to quickly learn about a programming language in a few minutes
轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
MRAM高速缓存的组成
An article takes you to understand CSS3 picture border