python实现elastcsearch中timestampe(long)类型的date_histogram聚合测试
由于老版本的elasticsearch不支持date类型,因此之前的存储(5.0版本)都用了timestamp来进行设计。 当新的es版本(6.0)支持日期date_histogram统计聚合函数时,发现其interval可以设置相当灵活用于设置各种间隔,如下:Here are the valid time specifications and their meanings:mil...
原创
2018-11-09 15:37:18 ·
1024 阅读 ·
0 评论