[ 'match' => '*', 'match_mapping_type' => 'string', 'mapping' => [ 'type' => 'text', 'index' => true, 'copy_to' => '_search', ], ], ]; return $templates; } }