Re: Recommendations for bulk delete of edges


Robert Dale <rob...@...>
 

I'm definitely not a Titan/Janus or ES expert so I'm not sure how it works.  But I imagine if you had an index by label, timestamp, asc, then you would only ever hit the tip of the index g.E().hasLabel('label').has('timestamp', lt(timestamp)). That should be very fast. Of course you would have to know all of the edge labels in advance. But again there's an opportunity for parallelism by label.


On Thursday, March 16, 2017 at 4:44:59 PM UTC-4, k...@... wrote:
Hi Marc,

Thanks for this.  Yes it is a mixed index with elasticsearch as the backend.  I've thought about the poor man's approach and I'm going to give that a try.  In fact I can probably query elasticsearch directly with this timestamp index and get the list of edge ids from there.

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.