// This file is autogenerated, DO NOT EDIT
// search/suggesters/context-suggest.asciidoc:100

[source, python]
----
resp = client.index(
    index="place",
    id="1",
    document={
        "suggest": {
            "input": [
                "timmy's",
                "starbucks",
                "dunkin donuts"
            ],
            "contexts": {
                "place_type": [
                    "cafe",
                    "food"
                ]
            }
        }
    },
)
print(resp)
----
