es reindex
2024-09-03 22:43:55
# 添加mapping:
url -X POST 'http://127.0.0.1:9200/indexName/typeName/_mapping?pretty' -d '{
"typeName": {
"properties": {
"number": {
"type": "string",
"index": "not_analyzed"
}
}
}
}'
# reindex
curl -XPOST "http://127.0.0.1:9200/_reindex/" -d '{
"source": {
"index": "one",
"type":"xx"
},
"dest": {
"index": "two",
"type":"detail_bill_vsim"
}
}'
最新文章
- [Reproduced works]MongoDB Unauthorized Access Vulnerability
- 微信测试服务器验证sha1加密法,工具类
- Android实现页面跳转及传递参数的方法
- 定制Eclipse IDE之功能篇(一)
- css优先级和层叠
- PHP使用CURL上传|下载文件
- Thread safety
- HDU 5059 Harry And Biological Teacher
- Intent的简介以及属性详解
- 《C标准库》—之<;assert.h>;实现
- MongoDB学习笔记-数据库命令
- Tomcat 映射虚拟目录
- sed和awk最佳入门教程
- 在mac中用终端来运行.c文件
- ShopNC_WAP
- 变量类型、构造器、封装以及 LeetCode 每日一题
- idea spring boot docker 多项目 maven 编译
- Redis读超时排查
- canvas代替imgage,可以有效的提高大图片加载的速度!
- codeforces474D