Re: [Neo] Import/export

2010-01-18 Thread David Montag
Hi, Having read the replies and thought about it more, I think my initial e-mail had a slightly wrong focus. The technical details that have surfaced so far are interesting, and would definitely be relevant, should an implementation be attempted. However. What I personally would like to know is,

Re: [Neo] Import/export

2010-01-18 Thread Rick Bullotta
Actually, I think there's one other key "gotcha" to be aware of. Rewiring relationships when importing should not assume anything about the nodeID's. While the nodeID's are a useful "unique identifier" in the export process, on import, you'd want to create a HashMap or similar structure that yo

Re: [Neo] Import/export

2010-01-18 Thread Rick Bullotta
Well, I definitely need to fuss about data types...and I would also think that it would require at least a two-pass import to ensure that all nodes were created prior to attempting to wire up relationships, since there is a definite "order dependency" involved in most if not all graph models. In g

Re: [Neo] Import/export

2010-01-18 Thread Rob Challen
Rdf seems a good candidate to me. Having said that it might just be pretty easy to write out the graph in a spreadsheet (nodes and properties in one tab and relationship triples and properties in another) and import that, as long as you aren't fussed about maintaining data types. Rob. On 18/01/2

Re: [Neo] Import/export

2010-01-18 Thread Peter Neubauer
Hi David, one thing would be to provide example node spaces, maybe even as Amazon EC2 AMIs, or downloadable nodespaces. Regrading XML format, I think GraphML is the most standard thing there, Gremlin already has a GraphML importer that can be used to import data into Neo4j, http://wiki.github.com/

Re: [Neo] Best way to represent graph change over time?

2010-01-18 Thread Craig Taverner
If you are focusing on changes of nodes, why not just archive the changes as a new sub-graph? This allows you to maintain everything in a single database (allowing simpler code and more possibilities), and also allows you to manage changes of different part of the graph independently, so you don't

[Neo] Import/export

2010-01-18 Thread David Montag
Hi, This weekend I was toying around with Neo4j. I wanted to do some indexing experiments. Unfortunately I found myself without a graph to work with. Sure, I could write some code to generate a graph for me, but it'd be a one-time-thing. I wanted to get going *now*. That got me thinking about impo

Re: [Neo] Transaction Event Listeners

2010-01-18 Thread Raul Raja Martinez
Thanks, we'll look into the transaction manager. On Jan 18, 2010 1:21 AM, "Mattias Persson" wrote: At the moment you cannot register listeners for committed nodes or stuff like that, but you could take a look at the TransactionEventManager in the "utils" component, http://components.neo4j.org/ne

Re: [Neo] rdf sail with org.neo4j.kernel.EmbeddedGraphDatabase

2010-01-18 Thread Johan Svensson
Hi, The new artifact id and versions for rdf components are: neo4j-rdf 0.6-SNAPSHOT (svn components/rdf) neo4j-rdf-sail 0.5-SNAPSHOT (svn components/rdf-sail) They in turn depend on: neo4j-kernel 1.0-SNAPSHOT neo4j-index 1.0-SNAPSHOT -Johan On Mon, Jan 18, 2010 at 3:13 PM, Peter Neubauer wro

Re: [Neo] rdf sail with org.neo4j.kernel.EmbeddedGraphDatabase

2010-01-18 Thread Peter Neubauer
Hi Alessia, we are waiting to release the Neo4j components until the Neo4j 1.0 release for the core components. I you want to migrate now, check out the rdf trunk and build a Snapshot release locally, or depend on a deployed snapshot release. Does that work for you? Cheers, /peter neubauer COO

[Neo] rdf sail with org.neo4j.kernel.EmbeddedGraphDatabase

2010-01-18 Thread alessia bardi
Hi all, I am using Neo4j sail and store (packages org.neo4j.rdf and org.neo4j.rdf.sail) I'd like to update my neo4j version from 1.0b9 to the current release 1.0 but I can't find the updated jars for rdf and rdf-sail. Can anyone help me find all needed dependencies? Thanks, Alessia __

Re: [Neo] Search Multiple Property Keys in LuceneIndexService

2010-01-18 Thread Mattias Persson
This can however be done using the "natural index" of the graph, in that you query for one property and for each hit you traverse the graph to see if the rest matches. That's more of a "graphy" thinking in my book. 2010/1/18 Mattias Persson : > Currently that's not possible, but you could probably

Re: [Neo] Transaction Event Listeners

2010-01-18 Thread Mattias Persson
At the moment you cannot register listeners for committed nodes or stuff like that, but you could take a look at the TransactionEventManager in the "utils" component, http://components.neo4j.org/neo4j-utils/ . You can use it to register listeners for events that you send yourself. Your listeners wi

Re: [Neo] Search Multiple Property Keys in LuceneIndexService

2010-01-18 Thread Mattias Persson
Currently that's not possible, but you could probably do it be extending LuceneIndexService (if those vital parts are protected, _not_ private). Maybe it'd be easy enough to implement a getNodes( Object value ) on the LuceneIndexService which could then query in multiple indices. Or with something

Re: [Neo] Request a sample code to illustrate finding all nodes where key < value

2010-01-18 Thread Mattias Persson
You found your answers in another thread, right? 2010/1/12 Mattias Persson : > That's strange, let me have a look at it... I'll try such an example > and see if I can figure out why it isn't working! > > 2010/1/12 Zerony Zhao : >> Thanks for your reply. >> >> Since I am trying to search a range of

Re: [Neo] Drop an index.

2010-01-18 Thread Mattias Persson
FYI, I've implemented such functionality in IndexService (and LuceneIndexService), i.e added methods: removeIndex( Node node, String key ) and removeIndex( String key ) They will be merged into trunk soon after 1.0 release. 2010/1/4 Mattias Persson : > 2010/1/4 Taylor Cowan : >> I share this c