Skip to content

Commit 905265e

Browse files
vkartaviymerk
authored andcommitted
"multi_field" type fields are not normalized
Fix for #764
1 parent 9f5ce21 commit 905265e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Index/MappingBuilder.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ private function fixProperties(&$properties)
107107
if (!isset($property['type'])) {
108108
$property['type'] = 'string';
109109
}
110+
if ($property['type'] == 'multi_field' && isset($property['fields'])) {
111+
$this->fixProperties($property['fields']);
112+
}
110113
if (isset($property['properties'])) {
111114
$this->fixProperties($property['properties']);
112115
}

0 commit comments

Comments
 (0)