Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by alextricity25
, 1 year ago
mapper [host] cannot be changed from type [string] to [ip]
via GitHub by perlei
, 1 year ago
mapper [hits] cannot be changed from type [long] to [integer]
via GitHub by kengees
, 10 months ago
mapper [hits] cannot be changed from type [long] to [integer]
via GitHub by atbohmer
, 7 months ago
mapper [hits] cannot be changed from type [long] to [integer]
via GitHub by wyukawa
, 1 year ago
mapper [hits] cannot be changed from type [long] to [integer]
via Stack Overflow by ravi
, 1 year ago
java.lang.IllegalArgumentException: mapper [host] cannot be changed from type [string] to [ip]	at org.elasticsearch.index.mapper.MappedFieldType.checkTypeName(MappedFieldType.java:238)	at org.elasticsearch.index.mapper.MappedFieldType.checkCompatibility(MappedFieldType.java:250)	at org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:151)	at org.elasticsearch.index.mapper.FieldTypeLookup.copyAndAddAll(FieldTypeLookup.java:115)	at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:381)	at org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:320)	at org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.checkMappingsCompatibility(MetaDataIndexUpgradeService.java:302)	at org.elasticsearch.cluster.metadata.MetaDataIndexUpgradeService.upgradeIndexMetaData(MetaDataIndexUpgradeService.java:116)	at org.elasticsearch.gateway.GatewayMetaState.pre20Upgrade(GatewayMetaState.java:228)	at org.elasticsearch.gateway.GatewayMetaState.(GatewayMetaState.java:87)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)