gpt4 book ai didi

elasticsearch - child "path"失败,因为 "path"不允许为空

转载 作者:行者123 更新时间:2023-12-02 22:13:49 24 4
gpt4 key购买 nike

我试图通过 kibana 在 elastic 中在 json 下面发布,但出现以下错误。是我的json格式不对还是kibana不支持这种类型的请求。

put 
{"index":{"_index":"insights-201806051143","_type":"doc","_id":"63AADB8C-9F84-4B84-90FB-A0E98F2FF927"}}
{"industry":"abc",
"geographiestaxonomysearch":["Americas","North America","United States"]}

下面是我遇到的错误:

{
"statusCode": 400,
"error": "Bad Request",
"message": "child \"path\" fails because [\"path\" is not allowed to be empty]",
"validation": {
"source": "query",
"keys": [
"path"
]
}
}

最佳答案

您需要为 PUT 命令指定路径,例如PUT/myIndex

关于elasticsearch - child "path"失败,因为 "path"不允许为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50715470/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com