Hello Why does not like Mysql count(DISTINCT userId, prdId) ??
{ "facets": { "book": { "terms": { "fields": [ "userId","prdId" ], "size": 10, "order": "count" } } }, "size": 0 } result : "facets": { "book": { "_type": "terms", "missing": 299410, "total": 1765354, "other": 1483806, "terms": [ { "term": "(Facebook)a...@gmail.com", "count": 119710 }, { "term": "guest", "count": 76341 }, { "term": "0100051552", "count": 18563 }, Is't my misunderstanding?? or I lost other parameter?? Thanks -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/529a0f7d-5b1a-4f5a-b76e-6fc7b920dcb6%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.