// This file is autogenerated, DO NOT EDIT
// mapping/types/percolator.asciidoc:649

[source, python]
----
resp = client.index(
    index="my_queries2",
    id="2",
    refresh=True,
    document={
        "query": {
            "match": {
                "my_field.suffix": "xyz"
            }
        }
    },
)
print(resp)
----
