当前位置:网站首页>es7创建索引容易犯的错误
es7创建索引容易犯的错误
2022-07-03 05:07:00 【计算机中的小垃圾】
(1)es的type错误,对于es7来说,没有String类型只有text类型或者keyword类型
(2)"Root mapping definition has unsupported parameters:
出现这个错误,还是版本问题。
记住es7mapping后面直接对接properties就可以了,不需要其他的,这个都是es6使用的。
(3)Failed to parse value [not_analyzed] as only [true] or [false] are allowed
这依旧是版本的问题,对于index来说存在问题
在es7中,只能为true或者false,如果想要不被分词就把数据类型设置为keyword,应为已经设置为keyword了,所以我们直接把not_analyzed这一行删除就可以了。
然后就执行成功了
边栏推荐
- Market status and development prospect forecast of global heat curing adhesive industry in 2022
- 2022-02-12 daily clock in: problem fine brush
- 1106 lowest price in supply chain (25 points)
- Market status and development prospect prediction of the global autonomous hybrid underwater glider industry in 2022
- ZABBIX monitoring of lamp architecture (3): zabbix+mysql (to be continued)
- Market status and development prospect prediction of the global fire extinguisher industry in 2022
- 1110 complete binary tree (25 points)
- 论文阅读_中文NLP_ELECTRA
- ZABBIX monitoring of lamp architecture (2): ZABBIX basic operation
- Source insight garbled code solution
猜你喜欢

论文阅读_清华ERNIE

Gbase8s unique index and non unique index

leetcode452. Detonate the balloon with the minimum number of arrows

Appium 1.22. L'Inspecteur appium après la version X doit être installé séparément
![[batch dos-cmd command - summary and summary] - CMD window setting and operation command - close CMD window and exit CMD environment (exit, exit /b, goto: EOF)](/img/ce/d6f4fb30727e7436b6443537429ad4.png)
[batch dos-cmd command - summary and summary] - CMD window setting and operation command - close CMD window and exit CMD environment (exit, exit /b, goto: EOF)

String matching: find a substring in a string

First + only! Alibaba cloud's real-time computing version of Flink passed the stability test of big data products of the Institute of ICT

Review the old and know the new: Notes on Data Science

Retirement plan fails, 64 year old programmer starts work again

Basic use of Metasploit penetration testing framework
随机推荐
Learn to use the idea breakpoint debugging tool
RT thread flow notes I startup, schedule, thread
"Hands on deep learning" pytorch edition Chapter II exercise
Maximum continuous sub segment sum (dynamic programming, recursive, recursive)
Chapter II program design of circular structure
JS dynamic table creation
Burp suite plug-in based on actual combat uses tips
document. The problem of missing parameters of referer is solved
[set theory] relation properties (transitivity | transitivity examples | transitivity related theorems)
Shell script -- condition judgment
[Yu Yue education] basic reference materials of interchangeability and measurement technology of Zhongyuan Institute of Technology
Thesis reading_ ICD code_ MSMN
"Pthread.h" not found problem encountered in compiling GCC
leetcode452. Detonate the balloon with the minimum number of arrows
1119 pre- and post order traversals (30 points)
SSM framework integration
ZABBIX monitoring of lamp architecture (2): ZABBIX basic operation
String matching: find a substring in a string
Basic knowledge of reflection (detailed explanation)
1114 family property (25 points)