Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kkrik-es committed Oct 31, 2024
1 parent 9f02d5e commit 9bbf049
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,8 @@ public static boolean isSynthetic(IndexSettings indexSettings) {
}

public static boolean isStored(IndexSettings indexSettings) {
return INDEX_MAPPER_SOURCE_MODE_SETTING.get(indexSettings.getSettings()) == Mode.STORED;
Mode mode = INDEX_MAPPER_SOURCE_MODE_SETTING.get(indexSettings.getSettings());
return mode == Mode.STORED || mode == null;
}

public boolean isDisabled() {
Expand Down

0 comments on commit 9bbf049

Please sign in to comment.