2010/7/23 Tim Jones <[email protected]>

> 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.


>
> 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.


>
> 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

Reply via email to