Hi,
I am relatively new to neo4j. I have implemented a traversal algorithm
using neo4j as underlying graph storage.
public Relationship getRelationship(Node n, int lowerlimit, int upperlimit)
throws Exception {
long t1 = System.currentTimeMillis();
IndexHits<Relationship> hits =
numericIndex.query(QueryContext.numericRange("start_time", lowerlimit,
upperlimit, true, true), n, null);
long t2 = System.currentTimeMillis();
time_spent_in_numeric_index_queries += t2-t1;
// do something on hits and return a relationship
from it
--
You received this message because you are subscribed to the Google Groups
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.