可以弹性搜索索引值,例如
"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 格式吗?如果是这样,那么为什么弹性无法索引它?