// This file is autogenerated, DO NOT EDIT
// indices/put-mapping.asciidoc:114

[source, python]
----
resp = client.indices.put_mapping(
    index="publications",
    properties={
        "title": {
            "type": "text"
        }
    },
)
print(resp)
----
