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

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 +

Re: [Neo4j] Could not determine type for: java.util.Set for Jpa/Neo4J Cross Store Entity

2014-06-16 Thread apprentice321
Can you help me out? I really need this feature. On Saturday, June 14, 2014 6:34:16 PM UTC+1, Michael Hunger wrote: Sorry, was out the whole week for a conference with little time for anything else. Cross Store is tricky anyway. Michael Am 14.06.2014 um 14:11 schrieb

[Neo4j] Current Store File Composition

2014-06-16 Thread Nicolas
Hi there, I'm interested in how Neo4j stores data on the disk. I found this presentation: http://de.slideshare.net/thobe/an-overview-of-neo4j-internals in which the composition of the store files is explained. But the store file sizes differ from the sizes in the current manual

[Neo4j] Re: Another Native-Java-DSL for the Cypher Language

2014-06-16 Thread Wolfgang Schuetzelhofer
Hello everyone, *Release 0.4.0 of JCypher (a 'Native Java DSL' for Cypher) is available.* Please have a look at: https://github.com/Wolfgang-Schuetzelhofer/jcypher/wiki. From there you are linked to the code. New in this release: Access to Neo4j databases (finally the JCypher queries we have

Re: [Neo4j] LOAD CSV creates nodes but does not set properties

2014-06-16 Thread Michael Hunger
did you create an index on :Client(Id) and :City(Id) what happens if you do: LOAD CSV WITH HEADERS FROM file:/Users/pauld/Documents/LOCATED_IN.csv AS c MATCH (client: Client { Id: toInt(c.Id)}) RETURN count(*) LOAD CSV WITH HEADERS FROM file:/Users/pauld/Documents/LOCATED_IN.csv AS c

[Neo4j] How does Traversal work in Neo4j?

2014-06-16 Thread Rio Eduardo
I have a problem that I described in graphgist ( http://gist.neo4j.org/?a0bc29b21622a2f19a36). I have 5 users and each user has 2 friends. //USERS 1,2,3,4,5 //FRIENDS 1 - 2,3 2 - 1,5 3 - 4,5 4 - 2,3 5 - 2,4 With the information above, I do traversal from depth 2 to depth 5. To do