Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOException[Current token (START_OBJECT) not numeric, can not use numeric value accessors

In Elasticsearch getting the following error.

RemoteTransportException[[CN8keD-][127.0.0.1:9300][indices:data/write/update]]; nested: RemoteTransportException[[CN8keD-][127.0.0.1:9300] indices:data/write/update[s]]]; nested: MapperParsingException IOException[Current token (START_OBJECT) not numeric, can not use numeric value accessors.

How to resolve this error?

like image 973
vikas Avatar asked Nov 07 '22 07:11

vikas


1 Answers

I had a similar error and the problem was that my mapping was wrong. I was trying to map a boolean field as integer.

like image 66
steveen zoleko Avatar answered Nov 25 '22 19:11

steveen zoleko