Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Tobias Ivarsson
The exception really says it all. You are trying to backup to a target that does not have the same origin as the source. You need to create the target Neo4j store by either letting the online-backup component create it, using the Neo4jBackup(EmbeddedGraphDatabase, String, ...) constructors, or man

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Batistuta Gabriel
I fixed one problem. But I still have a problem. My classes are starded from BlazeDS. It's a server-based Java remoting installed on Glassfish. So, I can not see the packages of neo4j on the classpath. However, I use this packages : lucene-core-2.9.1.jar neo4j-remote-graphdb-0.5.jar neo4j-comm

Re: [Neo4j] Algorithms Best Practices

2010-06-09 Thread Marko Rodriguez
Hi, > - Is it reasonable to add these metrics as properties of the nodes? Yes. However, depending on the algorithm, you will have to recompute these values every time the graph changes. > - Can these metrics be maintained in the database over time, or > should they be

[Neo4j] Algorithms Best Practices

2010-06-09 Thread Paul A. Jackson
Hi, I am interested in providing network metrics such as centrality, eigenvector centrality, degree, etc to graphs that I must assume will contain lots (millions+) of nodes. I am interested in any suggestions regarding the best way to approach this: - Is it reasonable to add these met

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Tobias Ivarsson
You could also use this code to print the classpath: //Get the System Classloader ClassLoader sysClassLoader = ClassLoader.getSystemClassLoader(); //Get the URLs URL[] urls = ((URLClassLoader)sysClassLoader).getURLs(); *for*(*int *i=0; i< urls.length; i++)

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Johan Svensson
What was the output of "System.out.println(System.getProperty("java.class.path"));" as Tobias asked you to do? On Wed, Jun 9, 2010 at 1:56 PM, Batistuta Gabriel wrote: > However, I obtain this error : > java.lang.NoSuchMethodError: > org.neo4j.onlinebackup.AbstractResource.(Lorg/neo4j/kernel/impl

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Batistuta Gabriel
However, I obtain this error : java.lang.NoSuchMethodError: org.neo4j.onlinebackup.AbstractResource.(Lorg/neo4j/kernel/impl/ transaction/x aframework/XaDataSource;)V at org .neo4j .onlinebackup .EmbeddedGraphDatabaseResource .(EmbeddedGraphDatabaseResource.java:31) at org.n

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Johan Svensson
On Wed, Jun 9, 2010 at 1:37 PM, Batistuta Gabriel wrote: > Thanks. > > If I understand the tutorial of neo4j and your expaination, this part > of code is correct : > > //create the original graph > neo = new EmbeddedGraphDatabase(CONSTANTS.GRAPH_PATH); > graph = ObjectGraphFactory.instance().get(n

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Batistuta Gabriel
Thanks. If I understand the tutorial of neo4j and your expaination, this part of code is correct : //create the original graph neo = new EmbeddedGraphDatabase(CONSTANTS.GRAPH_PATH); graph = ObjectGraphFactory.instance().get(neo); for (String datasource : new Str

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Tobias Ivarsson
Hi Bat, I've tried this with the combination of * neo4j-kernel-1.0.jar (from neo4j-apoc-1.0) * neo4j-online-backup-0.5.jar That works fine. Are you sure that you don't have incompatible versions on the class path as well? Try printing the classpath from your application and verify that you don't

Re: [Neo4j] neo4j on .Net

2010-06-09 Thread Mattias Persson
Very interesting. I'm a little curious about performance and functionality of the compiled DLL. Also, about lucene, Lucene has been ported to .NET so it should be possible to make something of that as well. 2010/6/6 Taylor Cowan : > For a while now I've been curious to find a way to use neo4j wit

Re: [Neo4j] bus timetable with neo4j

2010-06-09 Thread Mattias Persson
For each bus stop node you could have a relationship to that route's timetable, represented by a separate timetable node. So all nodes for a route could just have a relationship to that route's timetable node where the actual timetable is stored, minimizing redundant information in your graph. A c

Re: [Neo4j] Node creation limit

2010-06-09 Thread Johan Svensson
The 1.2 release is scheduled to be released in Q4 (most likely in November). Regarding implementations running on large graphs using Neo4j there have been several mentions of that on the list so you could try search the user archives (http://www.mail-archive.com/user@lists.neo4j.org/). For example:

Re: [Neo4j] Online Backup : wich package?

2010-06-09 Thread Batistuta Gabriel
Nobody has a solution for my problem? Many thanks, Bat Le 08-juin-10 à 16:05, BatiG a écrit : > > I've tried with : > - neo4j-kernel-1.0-rc.jar > - neo4j-kernel-1.0.jar > > And I've the same error in the both cases. > -- > View this message in context: > http://neo4j-user-list.438527.n3.nabble

Re: [Neo4j] how to include neo4j package in java application

2010-06-09 Thread Anders Nawroth
Hi! For information on how to manage the classpath in Eclipse: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/ref-properties-build-path.htm NetBeans: http://java.sun.com/developer/onlineTraining/tools/netbeans_part1/#importing NetBeans comes with built-in sup

Re: [Neo4j] Installation of Neo4j Standalone REST server 0.8(urgent)

2010-06-09 Thread Peter Neubauer
Great Mayank, glad to be able to help! Cheers, /peter neubauer COO and Sales, Neo Technology 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