1// mapping.asciidoc:257 2 3[source, php] 4---- 5$params = [ 6 'index' => 'my-index', 7 'fields' => 'employee-id', 8]; 9$response = $client->indices()->getFieldMapping($params); 10---- 11