File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 
server/src/main/java/org/elasticsearch/index Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -131,6 +131,7 @@ private static Version parseUnchecked(String version) {
131131    public  static  final  IndexVersion  ADD_ROLE_MAPPING_CLEANUP_MIGRATION  = def (8_518_00_0 , Version .LUCENE_9_12_0 );
132132    public  static  final  IndexVersion  LOGSDB_DEFAULT_IGNORE_DYNAMIC_BEYOND_LIMIT_BACKPORT  = def (8_519_00_0 , Version .LUCENE_9_12_0 );
133133    public  static  final  IndexVersion  TIME_BASED_K_ORDERED_DOC_ID_BACKPORT  = def (8_520_00_0 , Version .LUCENE_9_12_0 );
134+     public  static  final  IndexVersion  V8_DEPRECATE_SOURCE_MODE_MAPPER  = def (8_521_00_0 , Version .LUCENE_9_12_0 );
134135    public  static  final  IndexVersion  UPGRADE_TO_LUCENE_10_0_0  = def (9_000_00_0 , Version .LUCENE_10_0_0 );
135136    public  static  final  IndexVersion  LOGSDB_DEFAULT_IGNORE_DYNAMIC_BEYOND_LIMIT  = def (9_001_00_0 , Version .LUCENE_10_0_0 );
136137    public  static  final  IndexVersion  TIME_BASED_K_ORDERED_DOC_ID  = def (9_002_00_0 , Version .LUCENE_10_0_0 );
Original file line number Diff line number Diff line change @@ -484,8 +484,7 @@ public boolean isStored() {
484484    }
485485
486486    public  static  boolean  onOrAfterDeprecateModeVersion (IndexVersion  version ) {
487-         return  version .onOrAfter (IndexVersions .DEPRECATE_SOURCE_MODE_MAPPER );
488-         // Adjust versions after backporting. 
489-         // || version.between(IndexVersions.BACKPORT_DEPRECATE_SOURCE_MODE_MAPPER, IndexVersions.UPGRADE_TO_LUCENE_10_0_0); 
487+         return  version .onOrAfter (IndexVersions .DEPRECATE_SOURCE_MODE_MAPPER )
488+             || version .between (IndexVersions .V8_DEPRECATE_SOURCE_MODE_MAPPER , IndexVersions .UPGRADE_TO_LUCENE_10_0_0 );
490489    }
491490}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments