': 'Current token (START_OBJECT) not numeric, can not use numeric value accessors\n at [Source: org.elasticsearch.common.bytes.BytesReferenceMarkSupportingStreamInputWrapper@6e2393ee; line: 1, column: 277]' }}
我的集合vehiclemodel在MongoDB中有两种类型的数据
我正在尝试实现从MongoDB获取文档并将其插入ElasticSearch的应用程序。下面是一段应该将文档插入到ElasticSearch索引的代码:
final Document o = (Document) document.get("o"); // this is where object(FieldTypeLookup.java:117) at org.elasticsearch.index.mapper.MapperService.checkNewMappersCompatibility(M
我使用mongo连接器并将整个集合从mongodb传输到elasticsearch。mongo-连接器配置json文件是: "verbosity": 1,
"continueOnError":false': u'Current token (VALUE_FALSE) not numeric, can not use numeric v