【问题标题】:How to write OOBtree indexing on disk?如何在磁盘上编写 OOBtree 索引?
【发布时间】:2013-12-27 20:54:57
【问题描述】:

我有大量信息要索引和创建posting List供以后检索,我搜索并了解BTree Data structure适合在磁盘上存储大数据映射。

在 Python 库中,我找到了 Btree 4.08 并阅读了文档,我在代码中使用了OOBTree module,将数据插入到OOBtree,但我不知道该树的哪一部分必须存储在磁盘上,或者如何存储存储?

这是BTree Python Document的链接:

【问题讨论】:

    标签: python b-tree inverted-index


    【解决方案1】:

    您可以考虑ZODB 及其BTree 模块。 ZODB 是一个对象数据库,提供了一种高效的方式来读取和写入 Python 对象和结构到磁盘。

    【讨论】:

      猜你喜欢
      • 2014-09-17
      • 2010-09-08
      • 2013-09-06
      • 2017-11-20
      • 2011-02-13
      • 2019-03-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多