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 161cb5b commit a23bd4aCopy full SHA for a23bd4a
src/DSL/Bridge.php
@@ -441,6 +441,9 @@ public function processIndexModify($settings)
441
442
$params = $this->buildIndexMap($this->index, $settings);
443
$params['body']['_source']['enabled'] = true;
444
+ $props = $params['body']['mappings']['properties'];
445
+ unset($params['body']['mappings']);
446
+ $params['body']['properties'] = $props;
447
448
try {
449
$response = $this->client->indices()->putMapping($params);
0 commit comments