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 b265484 commit a005607Copy full SHA for a005607
src/DSL/Bridge.php
@@ -436,6 +436,9 @@ public function processIndexModify($settings)
436
437
$params = $this->buildIndexMap($this->index, $settings);
438
$params['body']['_source']['enabled'] = true;
439
+ $props = $params['body']['mappings']['properties'];
440
+ unset($params['body']['mappings']);
441
+ $params['body']['properties'] = $props;
442
443
try {
444
$response = $this->client->indices()->putMapping($params);
0 commit comments