> > Hi, > > > > I need to be able to retrieve nodes whose timestamps are greater than a > > particular time. > > > > I've been trying to use a TimelineIndex, but didn't realise that it was a > > persistent structure - I've written code that will create a new Timeline > > each > > time my application is instantiated, and it's complaining that nodes > > already > > exist in the Timeline. > > > > So you don't want to use a persistent timeline? The Timeline class stores > the timeline in the graph itself so if you'd like a non-persistent timeline > it would have to be implemented and there isn't such an implementation > a.t.m. >
No, persistent is OK. I just thought that it wasn't that's all. > > > > > The nodes that I'm relating to each other in the Timeline are not > > themselves > > directly related. Is this going to cause problems using the Timeline since > > it > > won't be able to traverse a subgraph? > > > > I'm not sure I understand what you mean here. It may be (I'm not really sure > on this one) that the timeline structure just refers to your indexed nodes > via id, not creating relationships to them. You're worried that nodes will > become related when they are added to a timeline? Any way it wouldn't be a > problem if you always specify which relationships to traverse in traversals. > I'm not worried that nodes will become related, I just wanted to make sure that because they aren't already related that this wasn't going to cause a problem before I implement the Timeline - I've already spent longer than I'd intended on this and don't want to reimplement it if it's not going to work because of the structure of the graph. I don't know the capabilities of the Timeline, but I guess since the docs don't mention nodes must themselves be related I assume it'll probably work. > > > > > Thanks, > > Tim > > > > > > > > > > _______________________________________________ > > Neo4j mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > -- > Mattias Persson, [[email protected]] > Hacker, Neo Technology > www.neotechnology.com > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

