gpt4 book ai didi

elasticsearch - ElasticSearch中的Random InternalServerError

转载 作者:行者123 更新时间:2023-12-03 01:58:22 25 4
gpt4 key购买 nike

我们一直在ElasticSearch中的随机查询上随机出现以下错误。

{
\"status\":500,
\"displayName\":\"InternalServerError\",
\"message\":\"JsonParseException[Unrecognized token 'ards': was expecting ('true', 'false' or 'null')\n at [Source: [B@4103c9af; line: 1, column: 38]]\",
\"body\":{
\"error\":\"JsonParseException[Unrecognized token 'ards': was expecting ('true', 'false' or 'null')\n at [Source: [B@4103c9af; line: 1, column: 38]]\",\"status\":500
}
}

当我们运行一个非常简单的查询(例如
{
"from":0,
"size":9,
"query":{
"terms":{
"id": [496161,496895,500119,544238,547116,547302,547364,633486,657141]
}
}
}

顺便说一句,没有ID之一的相同查询顺利通过。

最佳答案

似乎与下面的链接中的问题相同,原因是you have indexed a first document with ... as a boolean。 ta田
您可能想在<host>:<port>/<index>/<type>/_mapping上检查实际的映射。

关于elasticsearch - ElasticSearch中的Random InternalServerError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35018569/

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