Hi!

Regarding performance: you'll probably be better off using more 
realtistic data. Then having 100k friends shouldn't be the common case I 
guess! I think you can find some ways to create random graphs somewhere 
in the source code of this component: 
http://components.neo4j.org/graph-algo/

To gain really high performance you could use multiple threads, but 
there's a lot to think about the get that kind of stuff right.

For more performance tips, see the wiki:
http://wiki.neo4j.org/content/Neo_Performance_Guide

>> Makes sense to me. One detail: make sure to use directed edges where it
>> fits your domain when presenting this stuff! :-)
>>
>>     
>
> Is there another way of creating relations than with createRelationshipTo() ?
> I didn't understand that.
>   

There's no other way. But I don't get why you used bidirectional arrows 
for relationships that per the domain should be directed. Just a detail 
in your way to the describe the domain :-) -- Argentina doesn't live in 
Charlie, right?!

> Setting objects as properties?
>   

This is where you find the API docs where's such things are stated in 
detail:
http://api.neo4j.org/


/anders

_______________________________________________
Neo mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to