Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试解决 3 空间中一组对象的 k 最近邻问题。这些对象存在于 MongoDB 集合中,具有基于文档的存储带来的所有欢乐和悲伤。给定一个对象,我想在尽可能少的查询中找到 k 个最近的邻居。集合大小预计约为 10^5,k 在 10 到 50 之间。我真的不希望将整个树存储在内存中。
如何将 KD-Tree 存储在 MongoDB 集合中?