当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- C calls SendMessage to refresh the taskbar icon (the icon does not disappear at the end of forcing)
- [self taught unity2d legendary game development] map editor
- Call analysis of start method in JNI thread and callback analysis of run method
- Elasticsearch database | elasticsearch-7.5.0 application construction
- 迅为-iMX6ULL开发板上配置AP热点
- Hdu3974 assign the task segment tree DFS order
- ES6 learning notes (2): teach you to play with class inheritance and class objects
- [elastic search engine]
- Those who have worked in China for six years and a million annual salary want to share these four points with you
- Introduction to the development of small game cloud
猜你喜欢
Markdown tricks
大数据处理黑科技:揭秘PB级数仓GaussDB(DWS) 并行计算技术
Elasticsearch database | elasticsearch-7.5.0 application construction
Zero basis to build a web search engine of its own
git远程库回退指定版本
What grammar is it? ]
An article takes you to understand CSS gradient knowledge
#JVM 类加载机制
How to make characters move
ES6 learning notes (3): teach you to use js object-oriented thinking to realize the function of adding, deleting, modifying and checking tab column
随机推荐
Flink's datasource Trilogy: direct API
Junit测试出现 empty test suite
Countdown | 2020 PostgreSQL Asia Conference - agenda arrangement of Chinese sub Forum
Vue communication and cross component listening state Vue communication
How much disk space does a new empty file take?
The essence of transaction and the principle of deadlock
How to start the hidden preferences in coda 2 on the terminal?
Zhou Jie: database system of East China Normal University
Code generator plug-in and creator preform file analysis
File download manager realized by electron
2020 database technology conference helps technology upgrade
移动端像素适配方案
2020-08-20:GO语言中的协程与Python中的协程的区别?
git远程库回退指定版本
2020-08-14:数据任务的执行引擎用的哪些?
C language I blog assignment 03
This project allows you to quickly learn about a programming language in a few minutes
[byte jumps, autumn recruitment Posts open] ohayoo! Don't leave after school, I want to ask you to play games!!!
【涂鸦物联网足迹】涂鸦云平台全景介绍
Unity performance optimization