elasticsearch 根據時間聚合操作

再搜索中我們通常會碰到這樣的需求,根據時間段對文檔做個統計,作爲篩選條件 這時候就要通過聚合操作來實現 即elasticsearch aggregation date range 索引庫裏有7萬多數據,現在根據modifytime 聚合   再kibana 中寫dsl 語句 POST newaeko/_search {   "aggs": {     "range": {       "date_
相關文章
相關標籤/搜索