Elasticsearch has two similar features to get \"similar\" documents:
There is the \"More Like This API\". It gives me documents similar to a given one. I can\'t use
This is possible now with the new like syntax:
{
"more_like_this" : {
"fields" : ["title", "description"],
"like" : [
{
"_index" : "imdb",
"_type" : "movies",
"_id" : "1"
},
{
"_index" : "imdb",
"_type" : "movies",
"_id" : "2"
}],
"min_term_freq" : 1,
"max_query_terms" : 12
}
}
See here: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-mlt-query.html