0

我目前正在试用 GraphAware 的时间树插件。

但是,我无法停止使用 1 天的默认分辨率。

我在 neo4j.conf 中的配置如下:

#For the framework to work at all, you need this
dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware

# Runtime must be enabled like this
com.graphaware.runtime.enabled=true

# A Runtime module that takes care of attaching the events like this (TT is the ID of the module)
com.graphaware.module.TT.1=com.graphaware.module.timetree.module.TimeTreeModuleBootstrapper

# autoAttach must be set to true
com.graphaware.module.TT.autoAttach=true

# Optionally, nodes which represent events and should be attached automatically have to be defined (defaults to nodes with label Event)
com.graphaware.module.TT.event=hasLabel('Message')

# Optionally, a resolution can be specified (defaults to DAY)
com.graphaware.module.TT.resolution=MILLISECOND

# Optionally, a time zone can be specified (defaults to UTC)
com.graphaware.module.TT.timezone=GMT+1

我认为配置中有趣的部分是com.graphaware.module.TT.resolution=MILLISECOND.

当我打电话时CREATE (e:Email {text: "I used the timetree"}) WITH e CALL ga.timetree.events.attach({node: e, time: 1463659567468, relationshipType: "SENT_ON"}) YIELD node RETURN node;

我创建了以下数据:

创建的数据

谁能看到我缺少的东西?

4

0 回答 0