Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-30 Thread Michael Hunger
The problem is that there are no cypher commands currently but core-api calls. and it is reading and writing, so you would have convert all of those into cypher statemetns and send them over the wire which would be probably even slower You could probably hold off sending the http request until you

Re: [Neo4j] Re: Maximum for Labels

2014-03-30 Thread Michael Hunger
Using Neo4j without relationships is not what you would use a graph database for. You _should_ create meaningful relationships between your nodes. I don't see where the example you mentioned misses relationships? If you have a simple text file (csv) with your relationships, you can easily create

[Neo4j] Re: neo4j as a full stack option

2014-03-30 Thread Lundin
Hi, Yes this more lika general web development question, but i would recommend a memory store rather than a disk based solution for sessions (i.e redis,memory,memcache etc). Almost everthing *can* fit into a graph but it is a cost to be made if you want everything on disk and you also need to

Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-30 Thread Mike Holdsworth
> > Be great if such a feature could be on the roadmap. I find myself dropping > back to Cypher more and more to try and obtain a performance edge. SDN is > great for maintaining the general Schema, Labels, Constraints etc. So that > would seem to put me in the camp of "Greenfield SDN". > Wo

[Neo4j] Re: Maximum for Labels

2014-03-30 Thread Philippe Baumard
> > Hi Michael, > I do not need to know how many label can have a node. I need to know how many label i can create on the graph. Actualy my graph use many tables and i would like to create a Label for each tables, or columns. Why i did that! Because of the lake of more precises examples ( http:

[Neo4j] neo4j as a full stack option

2014-03-30 Thread Aris Alexis
Hi, I know my question is very generic but do you think neo4j is adequate solution to host a full web application that needs user profiles, sessions, user relationships,items inventories etc or should it be complemented with mongo? thanks -- You received this message because you are subscrib

Re: [Neo4j] Maximum for Labels

2014-03-30 Thread Michael Hunger
I think it is 16 bit, i.e. 64k Why do you want to know that? Up to 5 or 7 labels can be stored in the node as long as their id's are small enough. (fitting in 5 bytes). On Sun, Mar 30, 2014 at 5:54 PM, Philippe Baumard wrote: > I would like to know the maximum number of Label a graph can admin

[Neo4j] Maximum for Labels

2014-03-30 Thread Philippe Baumard
I would like to know the maximum number of Label a graph can administer. -- 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 neo4j+unsubscr...@googlegroups.com. For more op

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-30 Thread Rio Eduardo
Thank you so much Michael for the help. It really helps. On Sunday, March 30, 2014 7:42:27 PM UTC+7, Michael Hunger wrote: > > Split it up in one more intermediate step, the intermediate steps are > there to get the cardinality down, so it doesn't have to match billions of > paths, only millions

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-30 Thread Michael Hunger
Split it up in one more intermediate step, the intermediate steps are there to get the cardinality down, so it doesn't have to match billions of paths, only millions or 100k MATCH (U:User)-[F:Friend]->(FU:User)-[FF:Friend]->(FFU:User)-[FFF:Friend]->(FFFU:User) WHERE U.user_id=1 WITH DISTINCT U, FU

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-30 Thread Rio Eduardo
Please help me again Michael. You ever said: I would also change: MATCH (U:User)-[F:Friend]->(FU:User)-[FF:Friend]->(FFU:User) WHERE U.user_id=1 AND FFU.user_id<>U.user_id AND NOT (U)-[:Friend]->(FFU) RETURN FFU.username to MATCH (U:User)-[F:Friend]->(FU:User)-[FF:Friend]->(FFU:User) WHERE U.u

Re: [Neo4j] Why can't I drop Constraint?

2014-03-30 Thread Rio Eduardo
Oh ok but, when I tried to drop it, I already made sure the constraint was online. On Sunday, March 30, 2014 4:23:23 PM UTC+7, Michael Hunger wrote: > > Could it be that the constraint was not yet online when you tried to drop > it? I.e. it was still building? > > It seems lucene was still writ

Re: [Neo4j] Why can't I drop Constraint?

2014-03-30 Thread Michael Hunger
Could it be that the constraint was not yet online when you tried to drop it? I.e. it was still building? It seems lucene was still writing to the backing files. Caused by: java.io.IOException: Cannot delete C:\Users\Olivia Stella\Documents\Neo4j\DB_1000\schema\index\lucene\3\_0.fdt On Sun, M

Re: [Neo4j] Why can't I drop Constraint?

2014-03-30 Thread Michael Hunger
Something went wrong there. Can you share your graph.db/messages.log file to see if we can find out the reason? Your create/drop constraint syntax is correct. On Sun, Mar 30, 2014 at 7:52 AM, Rio Eduardo wrote: > I create constraint in Neo4j Shell(2.0.1) with this syntax => CREATE > CONSTRAIN