| 1 | <?php |
||
| 10 | class MappingHelper { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Doing some fields mapping modification/adaptation for type/index creation |
||
| 14 | * |
||
| 15 | * @param array $mappings |
||
| 16 | * @param int $elasticRootVersion |
||
| 17 | * @return array |
||
| 18 | */ |
||
| 19 | public static function patchMappings(array $mappings, $elasticRootVersion = 2) { |
||
| 57 | |||
| 58 | } |