IOException [当前令牌(START_OBJECT)不是数字,不能使用数字访问器

问题描述 投票:3回答:1

在Elasticsearch中出现以下错误。

RemoteTransportException [[CN8keD-] [127.0.0.1:9300] [索引:数据/写入/更新]];嵌套:RemoteTransportException [[CN8keD-] [127.0.0.1:9300] index:数据/写入/更新[s]]];嵌套:MapperParsingExceptionIOException [当前令牌(START_OBJECT)不是数字,不能使用数字访问器。

如何解决此错误?

elasticsearch-5 elastic4s
1个回答
0
投票

我有类似的错误,问题是我的映射错误。我试图将布尔字段映射为整数。

© www.soinside.com 2019 - 2024. All rights reserved.