[Neo4j] Fwd: Sync databases

2011-09-14 Thread Eddy Respondek
I recently posted the following topic on the Gremlin users list and I've been directed here. Apparently Michael Hunger is the man I want to talk to :) It seems there are a few other people interested in finding out my results as well. Forwarded conversation Subject: Sync databases

Re: [Neo4j] Fwd: Sync databases

2011-09-14 Thread Michael Hunger
HI Eddy, the way I do it in java with JPA (relational) and graph: * store the row-primary key + table in a property of the node/relationship * index the table:key for the node I didn't change the relational schema at all: Then I hooked into events: * when a node is loaded I get table + id

[Neo4j] Multi-master server architecture

2011-09-14 Thread Kynao
Hi, I'm interested by the Multi-master feature like explained here http://www.assembla.com/spaces/orientdb/wiki/Multi-master_server_architecture. i'm also interested to discuss this proposition... What do you think ? What re you remarks ? -- View this message in context:

Re: [Neo4j] Lucene Index view tool

2011-09-14 Thread noppanit
Which version are you using for luke? You might need to use the same version as your Lucene core. The latest one I think it's 3.xx Sent from my BlackBerry® wireless device -Original Message- From: consultpreet [via Neo4j Community Discussions] ml-node+s438527n3335822...@n3.nabble.com

Re: [Neo4j] Fwd: Sync databases

2011-09-14 Thread Xavier Shay
From: *Eddy Respondek* eddy.respon...@gmail.com Date: Wed, Sep 14, 2011 at 11:30 AM To: gremlin-us...@googlegroups.com This may be a little off topic but maybe someone has done something similar before. Basically I have a separate Wordpress site (php/mysql) which I've been extending

[Neo4j] Neo4j low-level data storage

2011-09-14 Thread danielb
Hello everybody, I have some questions regarding data storage in neo4j. How does neo4j store the data on the physical level? Are elements which have a close relationship in the graph stored in an adjacent way on disk? Any special binary format? How do you treat SSDs compared to common harddisks?

[Neo4j] Behaviour of LuceneIndex vs. BatchInserterIndex for multiple adds

2011-09-14 Thread Benjamin Gehrels
Hi all, as far as i know, the Batch Inserter Index has a slightly different behaviour than the default LuceneIndex: 1. It supports the addition of multiple Key/Value pairs at once and 2. Multiple calls to add() will result in multiple Index entries The default Lucene Index implementation does

Re: [Neo4j] Neo4j low-level data storage

2011-09-14 Thread Chris Gioran
Hi, shameless plug explanation=my blog You can find a decent explanation for pre-1.4 storage layout here: http://digitalstain.blogspot.com/2010/10/neo4j-internals-file-storage.html It has not been updated however to explain extended addressing for 4B+ entities in a db (which do not change the

Re: [Neo4j] Neo4j low-level data storage

2011-09-14 Thread Marko Rodriguez
shameless plug explanation=my blog There is no shame in producing good work and sharing it with others. Marko. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

[Neo4j] Spring Data Graph + Eclipse + AJDT : Editor errors

2011-09-14 Thread Agelos Pikoulas
First of hi to all Graphistas especially the Springraphistas (Michael the gang) I want to congratulate you all guys for SDG - I finally got to write more than a few lines, and it simply rules! Release of 1.1 has added a lot of great functionality, especially in terms of querying (Cypher,

Re: [Neo4j] Recommended way to index and lookup paired properties

2011-09-14 Thread Aseem Kishore
Can anyone help w/ this question? =) Thanks! Aseem On Thu, Sep 8, 2011 at 9:58 AM, Aseem Kishore aseem.kish...@gmail.comwrote: Hey guys, quick question on indexing. We track Amazon products in our db, and the way Amazon identifies its products is with an Amazon Standard Identification

[Neo4j] lock or not?

2011-09-14 Thread Linan Wang
hi all, I have implemented a function UserFactory.get_or_create_with_external_id(long external_id). the function basically search the index, see if a node already created and has the property external_id equals to external_id. if there is such a node, return, if not, create one, assign property

Re: [Neo4j] Cypher: node IDs

2011-09-14 Thread Andres Taylor
We finally decided that it should be added. http://docs.neo4j.org/chunked/snapshot/query-function.html#functions-id It's in snapshot, and will be part of our next stable release. Andrés On Thu, Aug 25, 2011 at 2:39 AM, Aseem Kishore aseem.kish...@gmail.comwrote: Hey guys, Is there any way

Re: [Neo4j] Cypher: node IDs

2011-09-14 Thread Peter Neubauer
Nice! Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer http://www.neo4j.org               - Your high performance graph database.

Re: [Neo4j] Recommended way to index and lookup paired properties

2011-09-14 Thread Rick Bullotta
I think this falls into the category of best to try it. I would simulate a couple million items and see what kind of performance you get in both scenarios. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Aseem Kishore Sent:

Re: [Neo4j] Cypher: node IDs

2011-09-14 Thread Aseem Kishore
Awesome! Great to hear. Thanks Andrés! Aseem On Wed, Sep 14, 2011 at 12:58 PM, Peter Neubauer peter.neuba...@neotechnology.com wrote: Nice! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn

Re: [Neo4j] Cypher: how would you query first- and second-degree friends?

2011-09-14 Thread Andres Taylor
And now it's in code. http://docs.neo4j.org/chunked/snapshot/query-match.html#match-optional-relationship Hope that helps, Andrés On Thu, Aug 25, 2011 at 10:34 PM, Andres Taylor andres.tay...@neotechnology.com wrote: Good and valid requests, Aseem. Consider them heard. We'll see how soon

Re: [Neo4j] Cypher: how would you query first- and second-degree friends?

2011-09-14 Thread Aseem Kishore
Awesome! Thanks again! Aseem On Wed, Sep 14, 2011 at 12:59 PM, Andres Taylor andres.tay...@neotechnology.com wrote: And now it's in code. http://docs.neo4j.org/chunked/snapshot/query-match.html#match-optional-relationship Hope that helps, Andrés On Thu, Aug 25, 2011 at 10:34 PM,

Re: [Neo4j] lock or not?

2011-09-14 Thread McKinley
If a second thread reads that there is no node with external_id 123 in between the time that a first thread finds no node and elects to create it, you will get 2 nodes with external_id 123. So yes, you need to introduce a lock and synchronize. You can create read locks in the graph database but

Re: [Neo4j] lock or not?

2011-09-14 Thread Linan Wang
McKinley Thank you very much for the detailed explanation. however, I don't get the part about only one JVM will access database. neo4j doesn't support multiple JVMs has write access to the same db, right? On Wed, Sep 14, 2011 at 9:14 PM, McKinley mckinley1...@gmail.com wrote: If a second thread

Re: [Neo4j] lock or not?

2011-09-14 Thread McKinley
I mean that if you are not running the REST server or high availability then you can assume that even if you only put the read lock in the Java thread/object world, the database will not change. No other process exists that could change it. You do not need to bother with a read lock in the

Re: [Neo4j] lock or not?

2011-09-14 Thread Linan Wang
Got it. i really appreciate your help. On Wed, Sep 14, 2011 at 11:14 PM, McKinley mckinley1...@gmail.com wrote: I mean that if you are not running the REST server or high availability then you can assume that even if you only put the read lock in the Java thread/object world, the database will

Re: [Neo4j] Java PaaS with Neo4j (slightly off topic)

2011-09-14 Thread Michael Hunger
At CFoundry you can access local storage but it is not persistent. No access to local storage at Heroku, don't know about the others. Sorry. Only IaaS as AWS. Cheers Michael Am 09.09.2011 um 06:40 schrieb Christopher Schmidt: Hi all, I am using (the embedded version of) Neo4j together

[Neo4j] May I know the cache mechanism of Neo4j?

2011-09-14 Thread iamyuanlong
Hello everyone, Anybody can tell me more about the cache mechanism of Neo4j? When use this code get both fans of two user. The result will be auto cache? or Not? -- View this message in context:

Re: [Neo4j] Java PaaS with Neo4j (slightly off topic)

2011-09-14 Thread Tatham Oddie
You can run Java on Windows Azure with persistent file storage. (Microsoft even ship Eclipse tooling support and everything for Azure.) That's how we're hosting neo4j on my current project. -- Tatham -Original Message- From: user-boun...@lists.neo4j.org

Re: [Neo4j] Java PaaS with Neo4j (slightly off topic)

2011-09-14 Thread Tatham Oddie
A bit more info ... The individual Azure machines will get spun up and down as you do new deployments, etc. The storage is called Cloud Drive and is an Azure page blob which gets mounted as a drive letter. (It's the equivalent of uploading a VHD (Virtual Hard Drive) file to Amazon's S3, then

Re: [Neo4j] Java PaaS with Neo4j (slightly off topic)

2011-09-14 Thread Peter Neubauer
On a note, we are testing Neo4j HA installations on Azure, so there will be samples coming out soon for that. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

[Neo4j] Best practice for User Authentication and Authorization

2011-09-14 Thread Brendan cheng
Hi, What design pattern do you recommend for user authentication and authorization in neo4j graph?I'm searching a simple and flexible way to restrict the access to certain part of graph which is dynamically depends on the user and role...etc.How to avoid excessive traversing? Any idea is