// mapping.asciidoc:176

[source, php]
----
$params = [
    'index' => 'my-index',
    'body' => [
        'properties' => [
            'employee-id' => [
                'type' => 'keyword',
                'index' => false,
            ],
        ],
    ],
];
$response = $client->indices()->putMapping($params);
----
