Skip to content

How to achieve more like this functionality? #640

@barseghyanartur

Description

@barseghyanartur

Please, explain how to achieve more-like-this functionality.

This what works via the REST (POST to http://localhost:9200/_search):

{
        "query": {
            "more_like_this" : {
                "fields" : ["content", "summary"],
                "like" : [
                {
                    "_index" : "article",
                    "_type": "article_document",
                    "_id" : "118"
                }
                ],
                "min_term_freq" : 1,
                "max_query_terms" : 12
            }
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions