悟空,拿我的打狗棒来

ElasticSearch windows建立mapping一直报错啊啊啊啊啊啊啊

Elasticsearch | 作者 xiaoxin181 | 发布于2020年03月24日 | 阅读数:1580

为了使用ik分词,新建一个mapping,按照官方的操作,一直报错,怎么弄呢....啊啊啊啊啊啊啊啊啊,谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢
11.png
已邀请:

God_lockin

赞同来自:

报错信息呢?

xiaoxin181

赞同来自:

{"error":{"root_cause":[{"type":"not_x_content_exception","reason":"Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"}],"type":"not_x_content_exception","reason":"Compressor detection can only be called on some xcontent bytes or compressed xcontent bytes"},"status":500}

byx313 - BLOG:https://www.jianshu.com/u/43fd06f9589c

赞同来自:

是PUT请求 不是POST吧

liuxg - Elastic

赞同来自:

你在Kibana中试过了吗?我之前试过了。是没有问题的。https://elasticstack.blog.csdn ... 16428 。我查了一下,你这个问题通常是:This error actually occurs if you pass in a string instead of a json document to the body[n]data key.

要回复问题请先登录注册