// This file is autogenerated, DO NOT EDIT
// query-dsl/mlt-query.asciidoc:19

[source, python]
----
resp = client.search(
    query={
        "more_like_this": {
            "fields": [
                "title",
                "description"
            ],
            "like": "Once upon a time",
            "min_term_freq": 1,
            "max_query_terms": 12
        }
    },
)
print(resp)
----
