Skip to content

Commit

Permalink
nit: remove import MODE
Browse files Browse the repository at this point in the history
  • Loading branch information
salvatore-campagna committed Jan 8, 2025
1 parent 3313218 commit 6de37a8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@
import java.util.List;
import java.util.Locale;

import static org.elasticsearch.index.IndexSettings.MODE;

public class SourceFieldMapper extends MetadataFieldMapper {
public static final NodeFeature SYNTHETIC_SOURCE_FALLBACK = new NodeFeature("mapper.source.synthetic_source_fallback");
public static final NodeFeature SYNTHETIC_SOURCE_STORED_FIELDS_ADVANCE_FIX = new NodeFeature(
Expand Down Expand Up @@ -81,7 +79,7 @@ public void validate(Mode value) {

@Override
public Iterator<Setting<?>> settings() {
List<Setting<?>> res = List.of(MODE);
List<Setting<?>> res = List.of(IndexSettings.MODE);
return res.iterator();
}
}, Setting.Property.Final, Setting.Property.IndexScope);
Expand Down

0 comments on commit 6de37a8

Please sign in to comment.