【问题标题】:What is the internals of mongodb 2dsphere index?mongodb 2dsphere 索引的内部原理是什么?
【发布时间】:2016-08-07 13:42:43
【问题描述】:

Mongodb 网站显示二维索引的内部是GeoHash

我想知道 2dsphere 索引的内部结构。

GeoHashCartesian Tiers还是其他技术人员?

我刚找到mongodb网站的博客new-geo-features介绍2dsphere索引。

但没有细节。

【问题讨论】:

标签: mongodb geolocation geospatial 2dsphere


【解决方案1】:

blog post you linked to 说明了 2dsphere 索引是如何实现的。它使用 Google 的 S2 Geometry Library 在地球表面创建网格单元并将它们放入 B 树中,以便快速搜索。

博文中的链接已过时,因为 Google 代码不再有效。现在可以看到 S2 的存储库 here

【讨论】:

    猜你喜欢
    • 2013-06-09
    • 1970-01-01
    • 2013-09-16
    • 2018-03-30
    • 1970-01-01
    • 2014-03-25
    • 1970-01-01
    • 1970-01-01
    • 2021-10-25
    相关资源
    最近更新 更多