Ahh ok. the stale connections are possible to totally discard? then you could monitor this in some way - maybe putting them into an index structure and checking for stale elements as you add new ones or so?
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Sun, Aug 21, 2011 at 9:06 PM, sulabh choudhury <[email protected]> wrote: > Thank Peter for the response. > So say I have a social graph which has relationships like A--likes---->B. So > for traversals I want to consider only the recent likes (say which are just > 2 days old) and beyond that it could be considered as stale info and I do > not want to traverse those edges. The approach is to set the expiration as > one of the edge's properties and during traversal check if the "expiry" time > has passed or not. > But if there were something like a TTL where the edge expires and removes > itself I would not need to check it. > > On Fri, Aug 19, 2011 at 3:41 PM, sulabh choudhury <[email protected]> wrote: > >> Hi, >> >> I was wondering if there is any notion of TTL in neo4j....can a node/ >> relationship be automatically deleted after a certain amount of predefined >> time ? >> >> > > > -- > > -- > Thanks and Regards, > Sulabh Choudhury > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

