我们一直在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/