Re: [Neo4j] Compare expressions using java API

2014-06-16 Thread Michael Hunger
It won't be fast though. for (Node n : GlobalGraphOperations.at(db).getAllNodesWithLabel(Labels.MY_LABEL)) { int value = (Integer)n.getProperty("property"); if (value > min && value > max) { // do something } } For a faster way, you might want to look into a legacy lucene index +

[Neo4j] Compare expressions using java API

2014-06-16 Thread Qaroui Oussama
Hy guys I would like to return specific nodes using greater than ">" or less than "<" ... For example I would like to get all the nodes with the property age <30 without using a cypher query. Can anyone help me please ?? -- You received this message because you are subscribed to the Google Gro