more_like_this and group by
<p>Is it possible to combine more_like_this and aggregations to get similar documents and show them grouped ? Can I do that in Elasticsearch ?</p>

<pre><code>{
  "size": 12,
  "query": {
    "filtered": {
      "query": {
        "more_like_this": {
          "fields": [
            "summary_text", "description.orig"
          ],
          "docs": [
            {
              "_id": "9753"
            }enter code here
          ],
          "min_term_freq": 1,
          "max_query_terms": 12
        }
      }
    }
  },
  "aggs": {
    "by_product_class": {
      "terms": {
        "field": "product_class_id"
      }
    }
  }
}
</code></pre>