java.lang.IllegalArgumentException: Mapper for [hits] conflicts with existing mapping in other types: [mapper [hits] cannot be changed from type [long] to [int]]

GitHub | abcfy2 | 5 months ago
  1. 0

    GitHub comment 180#232683491

    GitHub | 5 months ago | abcfy2
    java.lang.IllegalArgumentException: Mapper for [hits] conflicts with existing mapping in other types: [mapper [hits] cannot be changed from type [long] to [int]]
  2. 0

    GitHub comment 180#232917752

    GitHub | 5 months ago | abcfy2
    java.lang.IllegalArgumentException: Mapper for [hits] conflicts with existing mapping in other types: [mapper [hits] cannot be changed from type [long] to [int]]
  3. 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]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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]]
  6. 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.]

    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 for [hits] conflicts with existing mapping in other types: [mapper [hits] cannot be changed from type [long] to [int]]

      at org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility()
    2. ElasticSearch
      PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run
      1. org.elasticsearch.index.mapper.FieldTypeLookup.checkCompatibility(FieldTypeLookup.java:117)
      2. org.elasticsearch.index.mapper.MapperService.checkNewMappersCompatibility(MapperService.java:364)
      3. org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:315)
      4. org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:261)
      5. org.elasticsearch.cluster.metadata.MetaDataMappingService$2.execute(MetaDataMappingService.java:444)
      6. org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:388)
      7. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
      8. org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
      8 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