[Es] Rejecting mapping update to [xxx] as the final mapping would have more than 1 type [xxx xxx]
1.背景
写入es的时候,报错如下
Rejecting mapping update to [xxx] as the final mapping would have more than 1 type: [xxx, xxx]
2.原因
原因:6.0的版本不允许一个 index 下面有多个 type,并且官方说是在接下来的7.0版本中会删掉 type ,官方说明 ,搞得有点迷,看一些文章说 ElasticSearch 的 index
相当于 数据库
,type
相当于 数据表
,但是现在看来,如果要储存多个表的数据,还是得建立多个 index 索引。
3.代码如下
ElasticsearchSinkFunction elasticsearchSinkFunction
[Es] Rejecting mapping update to [xxx] as the final mapping would have more than 1 type [xxx xxx]相关推荐
- ES 插入文档报错:Rejecting mapping update to [testindex] as the final mapping would have more than 1 type
笔者在用 curl 命令行对 ElasticSearch 进行文档插入时,报了如下错误. [estestuser@vm-10-201-42-9 ~]$ curl -u elastic -H &qu ...
- Rejecting mapping update to [house] as the final mapping would have more than 1 type: [housetype, do
本人今天创建索引及索引mapping 当logstash将mysql同步到es索引文档的时候,出现如上错误 [2018-03-22T14:17:42,271][WARN ][logstash.outp ...
- SpringBoot整合es7.x启动报错:Rejecting mapping update to [AAA] as the final mapping would have more than 1
因为es6.x以后调整一个index只能有一个type,官方默认在所有的index自动加了一个_doc的type,所以当我们不指定或者指定不为_doc的type时,会报这个错误,解决方案: @Docu ...
- Rejecting mapping update to [blog] as the final mapping would have more than 1 type: [doc, blog]
type = "blog" 改成 type="doc"
- Rejecting mapping update to [XXx] as the final mapping would have more than 1 type: 报错
在给索引导入数据时 导入数据语句: POST /cars/transactions/_bulk { "index": {}} { "price" : 10000 ...
- ES更新错误 Rejecting mapping update to [] as the final mapping would have more than 1 type
reason=Rejecting mapping update to [] as the final mapping would have more than 1 type: [_doc, xxx]] ...
- 在 OpenGL ES 2.0 上实现视差贴图(Parallax Mapping)
在 OpenGL ES 2.0 上实现视差贴图(Parallax Mapping) 视差贴图 最近一直在研究如何在我的 iPad 2(只支持 OpenGL ES 2.0, 不支持 3.0) 上实现 视 ...
- tomcat 报错 Status 500 - Mapper method ‘xxxxx‘ has an unsupported return type: class xxx
myBatis 接口写了 insert ,对应的dao层里写的返回值是一个实体类 User add(User user); 报错 Status 500 - Mapper method 'xxxxx' ...
- Linux:centos释放缓存,查看磁盘空间大小,xxx文件夹, 查看文件夹大小,查看剩余内存,查看xxx软件位置,统计某文件夹,统计某文件夹下目录数量,查看文件夹大小,给文件夹下所有的文件赋值权限
一台老的PHP后台服务器,今天用 free -m 查看,发现内存跑满了. 再 top,然后按下shift+m,也就是按内存占用百分比排序,发现排在第一的进程,才占用0.9%,那是什么占用的呢?谷歌了一 ...
最新文章
- css 兼容ie6,ie7,ff的fixed,元素上下端固定定位方法
- keras网络变为pytorch网络的一些参考
- redis和memcache的区别
- Python 卡方检验、克雷姆值
- 5375亿元的x86市场:戴尔946亿、HPE 682亿、浪潮517亿、联想345亿、华为256亿、思科218亿、新华三204亿
- POJ - 3461 (kmp)
- linux 所有文件大小排序,linux 根据文件大小排序
- idea java常用手册
- Red Giant Universe 3.0.2 for After Effects 破解版 Mac 红巨星宇宙特效插件包预设
- 搭建OA系统运维需要了解的知识?
- 6个实例电路,详解雷击浪涌的防护
- 并发编程中你需要知道的基础概念
- Ventory制作多系统启动u盘 和 安装 windows10+ubuntu双系统
- c语言int作用,c语言中int的用法
- CAPP集成化工艺设计与管理系统
- 替换加密(恺撒加密法)
- 香蕉派 BPI-M5折腾记录(1)—— 开发板系统烧写
- 20210122 记一次防止m3u8网页视频被破解和下载的思路
- 综述:城市道路自动驾驶车辆规划与控制技术
- Android群英传-拼图游戏puzzle-6点吐槽
热门文章
- 微信:情人节女性收520红包的数量是男性的3.9倍,有用户收到200多个
- 消息称Uber正洽谈出售旗下自动驾驶部门ATG给Aurora
- 苹果今年预计生产8000万部iPhone 12,多还是少?
- 华为将联合京东举办线上发布会 或发布折叠屏手机
- 吃相难看!《人民日报》再评视频网站套路:消磨观众信任,必将引火烧身
- 点赞!刘强东:无论京东员工遭遇何种不幸,将负责其子女费用到22岁
- 4999元起!华为Mate 30 5G系列今日预售:支持SA及NSA 5G双模
- 苹果正式推送iPadOS 13.1、iOS 13.1,修复大量Bug,速升!
- 没一个能打的!端午档电影齐扑街:3天票房不及8亿
- 2018年网络视听付费用户规模惊人 视听消费习惯逐步形成