Skip to content

Commit

Permalink
HSEARCH-4152 Avoid to use *Settings constants
Browse files Browse the repository at this point in the history
So that it is clearer the target property here
  • Loading branch information
fax4ever authored and yrodiere committed Feb 10, 2021
1 parent f2758a3 commit 5dfa6a0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -125,7 +125,7 @@ private void setupAndInspectIndex(String dynamicMapping) {
.withIndex( index );

if ( dynamicMapping != null ) {
setupContext.withIndexProperty( index.name(), ElasticsearchIndexSettings.DYNAMIC_MAPPING, dynamicMapping );
setupContext.withIndexProperty( index.name(), "dynamic_mapping", dynamicMapping );
}

setupContext.setup();
Expand Down

0 comments on commit 5dfa6a0

Please sign in to comment.