We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05955c1 commit 18b003dCopy full SHA for 18b003d
src/DSL/Bridge.php
@@ -439,6 +439,9 @@ public function processIndexModify($settings)
439
440
$params = $this->buildIndexMap($this->index, $settings);
441
$params['body']['_source']['enabled'] = true;
442
+ $props = $params['body']['mappings']['properties'];
443
+ unset($params['body']['mappings']);
444
+ $params['body']['properties'] = $props;
445
446
try {
447
$response = $this->client->indices()->putMapping($params);
0 commit comments