Re: [Neo4j] Out of memory with Neo4j Spatial

2011-05-13 Thread Peter Neubauer
Nolan, will try to set it up and report back. We are thinking of moving away from the batchinserter, as new performance improvements in Neo4j might render the batchinserter unnecessary, and the speedup is not that great. It is mostly Lucene being the bottleneck and configuration around that, which

Re: [Neo4j] Neo4j and Java 1.5

2011-05-13 Thread Peter Neubauer
Julien, I think there are some parts in the server that require Java 1.6 liek the javax.scripting , but I am not sure about the kernel. I suspect some of the service loader extensions being Java 1.6. Anyone else having that info? Cheers, /peter neubauer GTalk: neubauer.peter Skype pe

Re: [Neo4j] [ANN] Neo4j 1.4.M02 "Kiruna Stol" - Chugging Along

2011-05-13 Thread Javier de la Rosa
On Fri, May 13, 2011 at 17:03, Andreas Kollegger wrote: > Additions to the REST API: > The REST API so far has been left wanting regarding the available index > operations. This milestone exposes all the Neo4j specific index operations > users of the embedded version enjoy, enabling deletion of

[Neo4j] [ANN] Neo4j 1.4.M02 "Kiruna Stol" - Chugging Along

2011-05-13 Thread Andreas Kollegger
Hi peeps, Another two weeks have flown by since the first milestone of “Kiruna Stol”, so it’s time for a new milestone release. 1.4.M02 brings mostly performance improvements, in the form of dependency updates and internal changes, but also new indexing operations via the REST API. NOTICE: Thi

[Neo4j] Neo4j and Java 1.5

2011-05-13 Thread Julien Serdaru
Hi all, I am considering using Neo4j embedded into a web application. We have to support Java 1.5 since we deploy on client J2EE application servers which still run on 1.5. Looking at the documentation, it seems that Java 1.6 is a prerequisite. http://docs.neo4j.org/chunked/stable/deployme

Re: [Neo4j] Out of memory with Neo4j Spatial

2011-05-13 Thread Nolan Darilek
I'm importing the dataset for Texas. My version is a few weeks old, but you can find the newest here: http://downloads.cloudmade.com/americas/northern_america/united_states/texas/texas.osm.bz2 My import code, more or less, let me know if you need more implementation details: class Neo4jImport(

Re: [Neo4j] Out of memory with Neo4j Spatial

2011-05-13 Thread Peter Neubauer
Nolan, do you have the importing code and what dataset are you importing? Also, do you have any console output? It could be very big transactions or other database settings not adjusted to the size of your import ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer P

Re: [Neo4j] Modelling a fault tree

2011-05-13 Thread Peter Neubauer
Jean-Pierre, this looks a lot like the deduction of resulting permissions in a nested Access Control List. There is a brief example on that at http://wiki.neo4j.org/content/ACL that might be in that direction? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Jean-Pierre Bergamin
I just could resove some more issues. First of all I had to excplicitely add an Import-Package directive in the template.mf of our project for packages that are not recognized by bundlor (as the one for the missing Neo4jConfiguration): Import-Package: org.springframework.data.graph.neo4j.config;v

[Neo4j] Error while creating EXE from JAR and Runnable JAR----RESOVLED

2011-05-13 Thread Abhishek AS
*PROBLEM:* Was creating an "exe" by exporting JAR and Runnable JARs thro eclipse.. Using Launch4j to do that. and having proper manifest files with the class path too.. But i get the following error when i try to run the created exe file. Caused by: java.Lang. ClassNotFoundException: org.ne

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Jean-Pierre Bergamin
2011/5/13 Michael Hunger : > Forwarded it to the AJ project lead Andy Clement, he knows this OSGi + AJ > stuff certainly better than me :) Ok. Thank you so far for the help! Best regards, James ___ Neo4j mailing list User@lists.neo4j.org https://lists

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Michael Hunger
Forwarded it to the AJ project lead Andy Clement, he knows this OSGi + AJ stuff certainly better than me :) Cheers Michael Am 13.05.2011 um 14:03 schrieb Jean-Pierre Bergamin: > SDG is using bundlor to generate the MANIFEST.MF file.I already fixed > the MANIFEST and the spring data neo4j bundl

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Jean-Pierre Bergamin
SDG is using bundlor to generate the MANIFEST.MF file.I already fixed the MANIFEST and the spring data neo4j bundle can now be resolved. But when the spring application context is loaded, the class "org.springframework.data.graph.neo4j.config.Neo4jConfiguration" cannot be found during bean postpro

[Neo4j] Out of memory with Neo4j Spatial

2011-05-13 Thread Nolan Darilek
Picking up my slow port to Neo4j Spatial again, and am hitting an out-of-memory error when trying to import large datasets. Given that this code works fine if I use a different database and swap out the implementations, I suspect Neo4j as the issue. This is Neo4j 1.4-SNAPSHOT and Spatial 0.6-SN

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Nicolas Jouanin
Well, at the minimum, it's only a question of adding some extra headers (Bundle-Symbolic, Export-Package; ...) in the package MANIFEST and this can be done automatically using the maven-bundle-plugin. You can have a look at Neo4j pom file or this second article : http://wiki.escapek.org/display/DEV

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Michael Hunger
The issue is about Spring Data Graph not being correctly packaged as OSGi bundle / compatible jar. And I have neither the knowledge nor the resources at the moment to fix that. So if any one of you can help out with that, this would be most welcome. Thanks Michael Am 13.05.2011 um 11:42 schri

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Nicolas Jouanin
Hi, I've written an article [1] showing how to run neo4j embedded database inside an OSGi container. Starting from that I think you can create a bundle which uses this database to create the appropriate Spring data configuration. I suppose that spring-data-graph is packaged as a OSGi compatible ja

Re: [Neo4j] finding nodes between two nodes

2011-05-13 Thread Mattias Persson
You can traverse, or use one of the different algorithms accessible from the GraphAlgoFactory class. Any of those will get you Path instances back, which contains the full paths (nodes and relationships) between those two nodes that you specified. Or if you're using the REST API then also get back

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Michael Hunger
I'm no expert in OSGi so I did just the minimal thing, adding bundlor information to the maven build. This is obviously not successful enough. So I would be very happy I someone would pull spring data graph put in the correct OSGi information and send me a pull request. Cheers Michael Am 13.0

[Neo4j] finding nodes between two nodes

2011-05-13 Thread Noppanit Charassinvichai
Hi Guys, I'm trying to find nodes along with path between two nodes. Would I just use get_path or traverse. But I could find a way to use traverse and if I use get path, do I only get the path between two nodes, not the nodes along the path? Thanks a lot. :) ___

[Neo4j] Spring Data Graph in an OSGi environment

2011-05-13 Thread Jean-Pierre Bergamin
Dear neo4j community I'm so free to cross post a question to this list that I already posted in the spring forum ( http://forum.springsource.org/showthread.php?109267-Spring-Data-Graph-in-OSGi-environment), since most of the SDG experts probably are subscribed to this list. ;-) Could anyone get sp

[Neo4j] Modelling a fault tree

2011-05-13 Thread Jean-Pierre Bergamin
Dear neo4j users We are in the course of evaluating neo4j for our application. Our model is quite similar to a fault tree ( http://en.wikipedia.org/wiki/Fault_tree_analysis), where states ("ok" or "not_ok") in leaf nodes get pushed up the tree. There are rules what state the parent gets, depending

Re: [Neo4j] Traversing all relationship types

2011-05-13 Thread Jean-Pierre Bergamin
Thank you Peter. These examples are really helpful and up-to-date. Best regards, James 2011/5/11 Peter Neubauer > Jean-Pierre, > we are in the process of moving the Getting started guides to > docs.neo4j,org, along with a number of good examples, amongst others on > traversal. You might find >

Re: [Neo4j] shortestPath exception

2011-05-13 Thread Mattias Persson
That bug is fixed... I wrote a test case which reproduced it and applied a patch which made it green again. So maybe you're seing something else this time? The test case is makeSureRelationshipNotConnectedIssueNotThere in https://github.com/neo4j/community/blob/master/graph-algo/src/test/java/org/n