Graphaware neo4j timetree只支持日期分辨率

时间:2016-11-01 18:00:14

标签: spring-data-neo4j-4 graphaware

我目前正在尝试使用GraphAware的timetree插件。

但是我无法停止使用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;

我创建了以下数据:

Created data

任何人都能看到我失踪的东西吗?

0 个答案:

没有答案