// This file is autogenerated, DO NOT EDIT
// mapping/explicit-mapping.asciidoc:49

[source, python]
----
resp = client.indices.put_mapping(
    index="my-index-000001",
    properties={
        "employee-id": {
            "type": "keyword",
            "index": False
        }
    },
)
print(resp)
----
