java.lang.IllegalArgumentException: mapper [rank.raw] cannot be changed from type [long] to [string]

Stack Overflow | ravi | 4 months ago
  1. 0

    Error while saving document in Elastic search. mapper [rank.raw] cannot be changed from type [long] to [string]

    Stack Overflow | 4 months ago | ravi
    java.lang.IllegalArgumentException: mapper [rank.raw] cannot be changed from type [long] to [string]
  2. 0

    Discover tab in Kibana not working

    GitHub | 5 months ago | qi-zhou
    java.lang.IllegalArgumentException: mapper [hits] cannot be changed from type [long] to [int]
  3. 0

    Mapping `properties._id` causes conflicts and shard failures

    GitHub | 1 year ago | clintongormley
    java.lang.IllegalArgumentException: Mapper for [_id] conflicts with existing mapping in other types: [mapper [_id] cannot be changed from type [_id] to [string]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using dynamic_date_format across multiple types causes errors

    GitHub | 1 year ago | colings86
    java.lang.IllegalArgumentException: Mapper for [myDate] conflicts with existing mapping in other types: [mapper [myDate] is used by multiple types. Set update_all_types to true to update [format] across all types.]
  6. 0

    mapper [version] cannot be changed from type [long] to [int]

    GitHub | 12 months ago | dadoonet
    java.lang.IllegalArgumentException: Mapper for [version] conflicts with existing mapping in other types: [mapper [version] cannot be changed from type [long] to [int]]

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      mapper [rank.raw] cannot be changed from type [long] to [string]

      at org.elasticsearch.index.mapper.MappedFieldType.checkTypeName()
    2. ElasticSearch
      PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run
      1. org.elasticsearch.index.mapper.MappedFieldType.checkTypeName(MappedFieldType.java:234)
      2. org.elasticsearch.index.mapper.MappedFieldType.checkCompatibility(MappedFieldType.java:246)
      3. org.elasticsearch.index.mapper.core.NumberFieldMapper$NumberFieldType.checkCompatibility(NumberFieldMapper.java:146)
      4. org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:151)
      5. org.elasticsearch.index.mapper.FieldTypeLookup.copyAndAddAll(FieldTypeLookup.java:115)
      6. org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:340)
      7. org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:289)
      8. org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.applyRequest(MetaDataMappingService.java:303)
      9. org.elasticsearch.cluster.metadata.MetaDataMappingService$PutMappingExecutor.execute(MetaDataMappingService.java:230)
      10. org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:468)
      11. org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)
      12. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
      13. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
      13 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames