Re: [Neo] Obtaining cache statistics

2010-02-19 Thread Johan Svensson
Hi, I think the easiest way would be for you to instrument the code in org.neo4j.kernel.impl.core.NodeManager (check for nodeCache.get and relCache.get calls). Another way would be to let the application run the same traversal/query many times in a row with different heap sizes. If later

Re: [Neo] Choosing between a property or a node

2010-02-19 Thread Mattias Persson
I've included some first thoughts on how you could model this. The choice of properties/index vs. relationships is often quite obvious, but is some cases you'll have to try and see which fits best. But neo4j encourages you to create relationships if you're in doubt and it's often better to use

Re: [Neo] Choosing between a property or a node

2010-02-19 Thread rick . bullotta
Mattias (and everyone) - can you see a way to model multiple relationships of the same type between two nodes? We have few cases where the relationship is essentially the same type but might have different properties. Max's Class/Teacher scenario is somewhat similar. Rick

[Neo] Newbie: neo4j doubts

2010-02-19 Thread Sunil Khedar
Hi All, I was going through the neo4j API. There are few things in API that are not clear to me: 1. What other configuration options can be set for neo4j, apart from storeDir? As in API all configuration related parameter methods are either depricated or will be soon. 2. Can I traverse nodes

Re: [Neo] Newbie: neo4j doubts

2010-02-19 Thread Mattias Persson
Hi Sunil, 2010/2/19 Sunil Khedar su...@truesparrow.com: Hi All, I was going through the neo4j API. There are few things in API that are not clear to me: 1. What other configuration options can be set for neo4j, apart from storeDir? As in API all configuration related parameter methods are

Re: [Neo] Newbie: neo4j doubts

2010-02-19 Thread Sunil Khedar
Hi Mattias, Thanks for the replies. Now I have a much more clarity about neo4j. On Fri, Feb 19, 2010 at 6:41 PM, Mattias Persson matt...@neotechnology.comwrote: Hi Sunil, 2010/2/19 Sunil Khedar su...@truesparrow.com: Hi All, I was going through the neo4j API. There are few things in

Re: [Neo] REST API, newbie question

2010-02-19 Thread Mattias Persson
Excellent :) Know that it is still in prototype/alpha stage and there's quite limited documentation about it... but by reading the code in https://svn.neo4j.org/laboratory/components/rest/src/functionaltest/ you could hopefully get some hints about its functionality. 2010/2/19 Paolo Stancato

Re: [Neo] Looking for multiplatform KVstore that i can use with neo4j

2010-02-19 Thread Laurent Laborde
Thank you, i started to code using MongoDB an hour ago :) Look good, it will do it !! I also planned to take a look at tinkerpop's stuff. For now i'm writting a test app for Mongo :) Thanks for your help. *hugs* -- Laurent ker2x Laborde Sysadmin DBA at http://www.over-blog.com/ On Fri, Feb