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

[source, python]
----
resp = client.search(
    index="test_index",
    query={
        "percolate": {
            "field": "query",
            "document": {
                "body": "Bycicles are missing"
            }
        }
    },
)
print(resp)
----
