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] Neo4j on appengine or hbase

2010-02-12 Thread Atle Prange
I am also curious of this. I would like to experiment in neo4j over a distributed hashtable, for example Voldemort or Hazelcast -atle On Wed, 2010-02-10 at 09:13 -0800, Raul Raja Martinez wrote: Hi, Has anybody ever tried running neo4j on top of appengine or hbase? I'm interested from the

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

2010-02-12 Thread Thomas Andersson
Hi, Thanks for the quick and detailed reply! This mailing list is a great help. I have a follow-up question: You say that Neo4j will synchronize access between concurrent transactions (on a node and relationship level). I am a bit curious about the granularity of the synchronization on the

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

2010-02-12 Thread Mattias Persson
Yep the answer is simple, it does a .toString() on the object and stores that string (since Lucene handles only strings as values). And when calling getNodes() it matches your suppliedValue.toString() with the values stored in lucene. Are you satisfied with that answer? I can imagine that in some

[Neo] Check for existence of relationship between two nodes

2010-02-12 Thread Rick Bullotta
There was a discussion of this last week, and I just wanted to add my wishlist request that there be a method on Node to lookup a specific relationship given the end node and relationship type (and, for that matter, direction).it would be very useful in some of our domain scenarios! It might

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

2010-02-12 Thread Mattias Persson
Yep, it's already been added in javadoc in the trunk! 2010/2/12 Thomas Andersson greddbul...@gmail.com: Hi, Thanks for the quick reply! That works beautifully for us. Maybe I could suggest that the javadoc be updated to reflect this? Because there's a world of difference between comparing

Re: [Neo] Error on startup

2010-02-12 Thread Rick Bullotta
Figured it out. It occurs if you try to create two instances of EmbeddedGraphDatabase that point to the same path. Need to clean up our singleton usage a bit. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Mattias Persson

Re: [Neo] Some newbie questions about indexing

2010-02-12 Thread Peter Neubauer
Mmh, you should send us the CLA (http://wiki.neo4j.org/content/About_Contributor_License_Agreement), go in and contribute at least a space character somewhere, so we have Thomas Andersson magic sprinkled over Neo4j! Cheers, /peter neubauer COO and Sales, Neo Technology GTalk: