类似 MySQL 的语句:SELECT DISTINCT title FROM table
1
fjkfwz406 2017-12-03 18:57:46 +08:00
你可以试试聚合查询
|
2
binjjam 2017-12-03 19:56:12 +08:00
我一般用这个 cardinality,不过这个不是准确值,详见文档
https://www.elastic.co/guide/cn/elasticsearch/guide/current/cardinality.html |