// This file is autogenerated, DO NOT EDIT
// query-dsl/pinned-query.asciidoc:13

[source, python]
----
resp = client.search(
    query={
        "pinned": {
            "ids": [
                "1",
                "4",
                "100"
            ],
            "organic": {
                "match": {
                    "description": "iphone"
                }
            }
        }
    },
)
print(resp)
----
