// This file is autogenerated, DO NOT EDIT
// query-dsl/simple-query-string-query.asciidoc:181

[source, python]
----
resp = client.search(
    query={
        "simple_query_string": {
            "query": "foo | bar + baz*",
            "flags": "OR|AND|PREFIX"
        }
    },
)
print(resp)
----
