Hi all,
I'm having an error when trying to index a JSON document into elasticsearch.
Below follows the error:
org.elasticsearch.index.mapper.MapperParsingException: Failed to parse
[value]
at
org.elasticsearch.index.mapper.core.AbstractFieldMapper.parse(AbstractFieldMapper.java:309)
at
org.elasticsearch.index.mapper.object.ObjectMapper.serializeValue(ObjectMapper.java:577)
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:443)
at
org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:491)
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:433)
at
org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:491)
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:433)
at
org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:491)
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:433)
at
org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:491)
at
org.elasticsearch.index.mapper.object.ObjectMapper.serializeArray(ObjectMapper.java:557)
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:435)
at
org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(ObjectMapper.java:491)
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:433)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:465)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:414)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:304)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:181)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:487)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:400)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.elasticsearch.common.jackson.JsonParseException: Numeric
value (1.7976931348623157E308) out of range of long (-9223372036854775808 -
9223372036854775807)
at [Source: [B@1e01f19; line: 1, column: 12008]
at
org.elasticsearch.common.jackson.JsonParser._constructError(JsonParser.java:1432)
at
org.elasticsearch.common.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)
at
org.elasticsearch.common.jackson.impl.JsonParserBase.reportOverflowLong(JsonParserBase.java:979)
at
org.elasticsearch.common.jackson.impl.JsonParserBase.convertNumberToLong(JsonParserBase.java:862)
at
org.elasticsearch.common.jackson.impl.JsonParserBase.getLongValue(JsonParserBase.java:635)
at
org.elasticsearch.common.xcontent.json.JsonXContentParser.doLongValue(JsonXContentParser.java:106)
at
org.elasticsearch.common.xcontent.support.AbstractXContentParser.longValue(AbstractXContentParser.java:70)
at
org.elasticsearch.index.mapper.core.LongFieldMapper.parseCreateField(LongFieldMapper.java:231)
at
org.elasticsearch.index.mapper.core.AbstractFieldMapper.parse(AbstractFieldMapper.java:296)
... 22 more
Can anyone help to solve this error?
Thanks in advance!