Re: [Neo] Some newbie questions about indexing

2010-02-12 Thread Thomas Andersson
Hi! Well, I did! But not until I started with Neo4j and looked at the examples in the documentation... I assure you that this is a pure coincidence, none of my super-powers are of the reality bending kind. Regards, Thomas On Wed, Feb 10, 2010 at 1:23 PM, Dan Heaver dan.hea...@peepwl.com wrote:

[Neo] Newbie IndexService question: How is equality defined between values in the index

2010-02-12 Thread Thomas Andersson
Hi, I have just started to use neo4j and so far I really like it, but I have a question about the IndexService interface. When indexing you provide a key of type String and a value of type Object. When doing lookup, you provide a value Object to look for to match with the indexed value object.

Re: [Neo] Question about Neo mistakes wiki page: What's wrong with the synchronization example?

2010-02-12 Thread Thomas Andersson
either of the two nodes it connects? Best regards, Thomas On Wed, Feb 10, 2010 at 1:23 PM, Johan Svensson jo...@neotechnology.com wrote: Hi, On Wed, Feb 10, 2010 at 10:48 AM, Thomas Andersson greddbul...@gmail.com wrote: Hi, ... // don't do this synchronized void methodA

[Neo] Can neo4j be run in memory only?

2010-02-10 Thread Thomas Andersson
Hi, Is it possible to run neo4j in memory only, that is, without a directory in the file system? This would make it much easier to write unit tests, but I can't seem to find any mention of it in the documentation. Any thoughts on this? Regards, Thomas

[Neo] Some newbie questions about indexing

2010-02-10 Thread Thomas Andersson
Hi, I'm new to neo4j and have some questions about indexing using IndexService and Lucene. If I create a LuceneIndexService as mentioned in the examples like this: IndexService index = new LuceneIndexService( graphDb ); Have I understood it correctly if I assume that the index is persisted and