How to pass in an artificial document to a MLT Query when searching for similar phrases?

I am using the following MLT query

GET /_search
    "query": {
        "more_like_this" : {
            "fields" : ["title", "content.standard"],
            "like" : "Housing rents",
            "min_term_freq" : 1,
            "max_query_terms" : 12

How do I feed a artificially document to it (A doc not present in my index) to give the query more 'context' ? I read the docs and there is an example as to how to feed in a doc if you want to find other similar docs but none for phrases.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.