是否可以有效地创建时间树图结构?

Is it possible to effectively create a time tree graph structures?

是否可以在ArangoDB 中创建时间树图结构?对于我们的 CRM 系统,我们希望将所有相关文档加入特定的 date/time 树图结构。它应该类似于此处描述的技术 http://graphaware.com/neo4j/2014/08/20/graphaware-neo4j-timetree.html.

基本上我们想创建年 -> 月 -> 日结构,并根据最后的文档修改日期将每个文档连接到特定的日期。

我这里有 2 个问题:

有可能。我致力于为 ArangoDB 创建 Ruby Gem,其中一个示例是创建类似的树。

这里是那个例子的link。 创建:https://github.com/StefanoMartin/ArangoRB/blob/replication_and_sharding/examples/year.rb

正在检索:https://github.com/StefanoMartin/ArangoRB/blob/replication_and_sharding/examples/year2.rb

编辑:请注意,我在程序结束时只进行了几次异步大型提交。

编辑 2:我做了一个基准测试来了解一点性能,这里是创建该图的结果: 25.390000 1.060000 26.450000 (29.888871)