我有点怀疑你在刷屏

多个geo_point进行geohash_grid该如何实现?

Elasticsearch | 作者 duanxiaobiao | 发布于2023年03月14日 | 阅读数:3012

一个索引里可能有多个字段的类型是geo_point, 比如user_inf索引,有user_id,name, login_loc, logout_loc, 其中login_loc和logout_loc的类型是geo_point, 通过筛选条件筛选出的这一批用户, 想要进行login_loc + logout_loc两个字段的数据合在一起的geohash_grid聚合,请问该如何实现呢?
已邀请:

要回复问题请先登录注册