Skip to content

Commit

Permalink
Restore original workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Feb 14, 2024
1 parent 5c1b608 commit 2cf81d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ public void testRestoreWithDifferentMappingsAndSettings() throws Exception {
Settings.builder()
.put(indexSettings())
.put(SETTING_NUMBER_OF_REPLICAS, between(0, 1))
.put("index.mapper.dynamic", true)
// .put("index.mapper.dynamic", true)
.put("refresh_interval", 10, TimeUnit.SECONDS)
)
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,9 @@ public MapperService(
this.mapperRegistry = mapperRegistry;
this.idFieldDataEnabled = idFieldDataEnabled;

// if (INDEX_MAPPER_DYNAMIC_SETTING.exists(indexSettings.getSettings())) {
// throw new IllegalArgumentException("Setting " + INDEX_MAPPER_DYNAMIC_SETTING.getKey() + " was removed after version 6.0.0");
// }
if (INDEX_MAPPER_DYNAMIC_SETTING.exists(indexSettings.getSettings())) {
throw new IllegalArgumentException("Setting " + INDEX_MAPPER_DYNAMIC_SETTING.getKey() + " was removed after version 6.0.0");
}
}

public boolean hasNested() {
Expand Down

0 comments on commit 2cf81d1

Please sign in to comment.