【发布时间】:2015-12-07 09:35:27
【问题描述】:
可以弹性搜索索引值如
"key": [
14.0,
"somestring"
]
如果我尝试提取此数据,我会收到此错误
org.elasticsearch.hadoop.rest.EsHadoopInvalidRequest: Found unrecoverable error [Bad Request(400) - [WriteFailureException; nested: MapperParsingException[failed to parse [FIXMessage.key]]; nested: NumberFormatException[For input string: "somestring"]; ]]; Bailing out..
首先,以上是有效的 JSON 格式吗?如果是这样,那为什么 elastic 不能索引呢?
【问题讨论】:
标签: json elasticsearch elasticsearch-indices