Re: [Neo] Newbie questions - is node1 and node2 connected. countrelationships

2009-05-05 Thread Tobias Ivarsson
On Wed, May 6, 2009 at 1:39 AM, Solomon (Sung) Wu (solowu) wrote: > > By emperical testing, I found that if we add the same relationship type > to the same two nodes, it will be added. So now there will be 2 > relationship of KNOWS between two nodes. After I see this, I thought we > will need t

Re: [Neo] neo4j on .NET

2009-05-05 Thread Emil Eifrem
On Wed, May 6, 2009 at 02:05, Antonello Provenzano wrote: > I will try to elaborate a plan of porting as soon as it will be > possible, coming back to you if i will find anything that will be an > obstacle to it. In the meanwhile, I thought that the name "neo4n" > would be appropriate for the proj

Re: [Neo] neo4j on .NET

2009-05-05 Thread Antonello Provenzano
Johan, The plan of using "common" architectures is a great idea and will fix the issues on porting and maintaining neo4j to .NET/Mono (please remember that, as contributor to Mono, I'm attached more to this framework than to Microsoft's one and I always seek for the full compatibility with it). I

Re: [Neo] Newbie questions - is node1 and node2 connected. countrelationships

2009-05-05 Thread Solomon (Sung) Wu (solowu)
Hi Tobias, thanks for the answers. I think you answers my questions well. Please see the inline comment. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Tobias Ivarsson Sent: Tuesday, May 05, 2009 1:11 PM To: Neo user discussions S

[Neo] Input on new batch insert API?

2009-05-05 Thread Emil Eifrem
Hi, As you may or may not know, the Neo4j kernel is heavily optimized for reads and transactional updates, which in a typical transactional system probably constitute 95+% of the operations. So far, we haven't focused on raw batch insert velocity, since that's typically a one-time operation that y

[Neo] Spring expertise?

2009-05-05 Thread Emil Eifrem
Hi all, Johan just created a new ticket about integration with an external transaction manager in for example a Spring environment. If anyone here feels knowledgeable about Spring, feel free to chip in either in this thread or as a comment in the ticket: https://trac.neo4j.org/ticket/166 Or s

Re: [Neo] Newbie Question - Possible FAQ Addition?

2009-05-05 Thread Tobias Ivarsson
On Tue, May 5, 2009 at 11:11 PM, Ivan Lazarte wrote: > So I know I'm just missing something very basic here, but lets say I have 3 > nodes representing users. The users have first name, last name, and email > properties. Now say I have 2 million users. > How do I efficiently implement findUserB

Re: [Neo] Information on Data Model?

2009-05-05 Thread Anders Nawroth
hi! > Your best shot right now is to search the mailing list archives and > look at the code. And here's the searchable mail archive: http://www.mail-archive.com/user@lists.neo4j.org/info.html /anders > If you are interested in how nodes and relationships > are stored on disk I would suggest

[Neo] Newbie Question - Possible FAQ Addition?

2009-05-05 Thread Ivan Lazarte
So I know I'm just missing something very basic here, but lets say I have 3 nodes representing users. The users have first name, last name, and email properties. Now say I have 2 million users. How do I efficiently implement findUserByEmail ? The question which it answers first is really: How d

Re: [Neo] Information on Data Model?

2009-05-05 Thread Johan Svensson
Hi Matthias, Great if you want to contribute! Currently there exist no good external documentation on Neo4j internals. This has been requested before and I hope we can put together a document of that type soon (but very low on bandwidth right now). Your best shot right now is to search the maili

Re: [Neo] Newbie questions - is node1 and node2 connected. count relationships

2009-05-05 Thread Tobias Ivarsson
On Tue, May 5, 2009 at 8:39 PM, Solomon (Sung) Wu (solowu) wrote: > Hi all, > I just started looking into neo4j. Forgive me if these are newbie > questions. Hi Solomon, Well, they are questions typically asked by newbies, but they are still very good questions. > 1. I did not find an API to

Re: [Neo] Problem with NeoIndexService

2009-05-05 Thread Mattias Ask
Well, that was easy :) Thanks! Best regards, Mattias Ask --- Jayway AB, +46 701 469284 www.jayway.com Jayway is the founder of Öredev and Qi4J www.oredev.org www.qi4j.org On 5 maj 2009, at 22.03, Tobias Ivarsson wrote: > On Tue, May 5, 2009 at 9:58 PM,

Re: [Neo] Problem with NeoIndexService

2009-05-05 Thread Tobias Ivarsson
On Tue, May 5, 2009 at 9:58 PM, Mattias Ask wrote: > > > If I remove "IndexService index = new NeoIndexService(neo);" > everything is dandy, but when I init a NeoIndexService I get the same > output if I just System.out something where I, in the code above, get > a Node and set a prop. > > The abo

[Neo] Problem with NeoIndexService

2009-05-05 Thread Mattias Ask
Hi, I was playing around with Neo when I ran into a problem. I made the example as simple as I could, but still encountered the same problem: public static void main(String[] args) { NeoService neo = new EmbeddedNeo("var/neo"); IndexService index = new N

[Neo] Newbie questions - is node1 and node2 connected. count relationships

2009-05-05 Thread Solomon (Sung) Wu (solowu)
Hi all, I just started looking into neo4j. Forgive me if these are newbie questions. 1. I did not find an API to find if node1 and node2 has relationship1 (or probably I just haven't find it) So I assume we should do getRelationships() and iterate through the result? Also, there is no API t

Re: [Neo] neo4j on .NET

2009-05-05 Thread Johan Svensson
Next release of Neo4j (b9) will have an option not to use memory mapped buffers but instead either use direct buffers or normal Java buffers. A .NET port could replace the org.neo4j.impl.nioneo.store.MappedPersistenceWindow with a different implementation that does not use the MappedByteBuffer (b9

Re: [Neo] neo at GAE ?

2009-05-05 Thread Johan Svensson
Yes, I spent some time yesterday looking up GAE and also concluded we have to use the datastore: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/package-summary.html Thought some about different layouts for storing nodes,relationships and properties tha

Re: [Neo] neo at GAE ?

2009-05-05 Thread ஸ்ரீராம் கீர்த்தி
Hi, Erick's posting in GAE forum was actually not accurate... Here's what he replied to me >>sriram, >>I miss posted. I uploaded a testing version of my app which was not actually using Neo4j but mocked data. >>Sorry for the confusion. So unless a neo4j storage wrapper is built for GAE's bigtable

Re: [Neo] neo at GAE ?

2009-05-05 Thread Tobias Ivarsson
On Tue, May 5, 2009 at 6:36 PM, Solomon (Sung) Wu (solowu) wrote: > I would be interested to know how neo4j works on AppEngine, too. :) > Since Appengine does not offer file system, sounds like one has to map > neo4j data to GAE datastore. > Yes, that is probably the best we can do. Provide an

Re: [Neo] neo at GAE ?

2009-05-05 Thread Solomon (Sung) Wu (solowu)
I would be interested to know how neo4j works on AppEngine, too. :) Since Appengine does not offer file system, sounds like one has to map neo4j data to GAE datastore. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Peter Neubauer