Re: [Neo4j] how many relationships?

2011-07-22 Thread cyuczi eekc
thanks for that, I only had embedded-examples changed, but it looks like I was doing the git pull wrong, that is I was using `git fetch from upstream` instead of `git pull`... I actually never had to use this before :) I was only ever committing with git (used svn/mercurial before though) For

Re: [Neo4j] how many relationships?

2011-07-22 Thread Michael Hunger
you would have never gotten the update git pull does a fetch and merge please read a quick intro to git there are many on the internets mobile mail please excuse brevity and typos Am 22.07.2011 um 08:10 schrieb cyuczi eekc cyuczie...@gmail.com: thanks for that, I only had embedded-examples

Re: [Neo4j] How often are Spatial snapshots published?

2011-07-22 Thread Peter Neubauer
Nolan, saftest is to build it yourself from GITHub, I will check the deployment. Is that ok for now? /peter On Fri, Jul 22, 2011 at 3:57 AM, Nolan Darilek no...@thewordnerd.info wrote: I'm looking at the Spatial sources from Git, and am seeing lots of versions of

Re: [Neo4j] How often are Spatial snapshots published?

2011-07-22 Thread Anders Nawroth
Hi! The deployment seems to be broken at the moment, I'll look into that ASAP. /anders 2011-07-22 09:28, Peter Neubauer skrev: Nolan, saftest is to build it yourself from GITHub, I will check the deployment. Is that ok for now? /peter On Fri, Jul 22, 2011 at 3:57 AM, Nolan

Re: [Neo4j] How often are Spatial snapshots published?

2011-07-22 Thread Craig Taverner
Interesting that if you look at the github 'blame' for that file (see https://github.com/neo4j/neo4j-spatial/blame/master/src/main/java/org/neo4j/gis/spatial/SpatialTopologyUtils.java), you find that all the findClosestEdges methods where added in October 2010. So if Nolan has a version older than

[Neo4j] Using neo4j spatial in non maven projects

2011-07-22 Thread craig.taverner
Hi, I received a message on github asking how to setup the dependencies for using neo4j-spatial in a non-maven project, and I replied there, but thought this should also be posted to the neo4j mailing list in case it is of interest to others. Even if you don't use maven for your own project, you

[Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread BatiG
Hi everybody, I'd like to download the version 1.3 of neo4j. Where could I find the URL to download it? By the way, does someone know jo4neo? Because I'm trying to use jo4neo and neo4j-server but without success. Maybe someone have a great advise for me to use the both together. Many thanks,

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread Peter Neubauer
Hi there, I don't think there is much support for jo4neo around, as it is superseded by Spring Data Graph. Could you please try that instead? /peter Sent from my phone. On Jul 22, 2011 12:12 PM, BatiG batistutagabrielf...@gmail.com wrote: Hi everybody, I'd like to download the version 1.3 of

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread BatiG
You mean that Jo4neo is dead and It has been replaced by Spring Data Graph? Is Sping Data graph stable? -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/How-to-download-neo4j-1-3-for-using-jo4Neo-tp3191002p3191081.html Sent from the Neo4J Community

Re: [Neo4j] Best way to find all the relationships between nodes which in a list

2011-07-22 Thread Peter Neubauer
Hi there, Cypher does not let you address the ID directly (yet) in the where parts. Michael, Andres, WDYT of supporting it? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

[Neo4j] Number of properties on a PropertyContainer

2011-07-22 Thread Niels Hoogeveen
Last night while working on some enhancements on the Neo4J API, I set up a method to lookup the name of a relationship, to facilitate the creation of associated nodes. The method I use, is to create a node (which can be found through the reference node) and on this node create a property for

Re: [Neo4j] Number of properties on a PropertyContainer

2011-07-22 Thread Rick Bullotta
That's a perfect use case for a super trivial Lucene index, no? Would seem to be a much easier solution with much faster lookup...and built into Neo4J. From: user-boun...@lists.neo4j.org [user-boun...@lists.neo4j.org] On Behalf Of Niels Hoogeveen

Re: [Neo4j] Number of properties on a PropertyContainer

2011-07-22 Thread Niels Hoogeveen
This certainly can be done with a Lucene lookup, I am just not so sure if the lookup is actually faster. From: rick.bullo...@thingworx.com To: user@lists.neo4j.org Date: Fri, 22 Jul 2011 05:41:09 -0700 Subject: Re: [Neo4j] Number of properties on a PropertyContainer That's a perfect use

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread BatiG
Do you know an another framework that makes POJO as jo4neo or Spring Data Graph? I'd like to test everything before choosing. Thanks -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/How-to-download-neo4j-1-3-for-using-jo4Neo-tp3191002p3191250.html Sent

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread Peter Neubauer
Hi there, you could also try https://github.com/tinkerpop/frames/wiki which supports Neo4j. Otherwise, there is a number of non-java bindings for JRuby, Python, Scala and others. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn  

Re: [Neo4j] Number of properties on a PropertyContainer

2011-07-22 Thread Mattias Persson
Loading one property on a node results in the entire property chain being loaded, i.e. if you have numeric values all properties will be loaded on the first getProperty request on that node... after that it's a HashMap lookup from the key to the value. So the first getProperty (if that node hasn't

[Neo4j] neo4j.py install problems

2011-07-22 Thread Eddy
I'm getting error after error trying to get neo4j.py working. Right now I'm stuck at a problem that appears to be the same as this ticket https://trac.neo4j.org/ticket/275 https://trac.neo4j.org/ticket/275 . But it doesn't actually say how to go about solving it. I don't actually have to go back

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread BatiG
Spring Graph Database is not really what I want. And It could be very hard to deploy that on BlazeDS [ http://opensource.adobe.com/wiki/display/blazeds/BlazeDS http://opensource.adobe.com/wiki/display/blazeds/BlazeDS ]. Do you know the developpers of jo4neo? Is it possible to help them to upgrade

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread Michael Hunger
probably I can look into it what are the your issues with spring data graph? Michael mobile mail please excuse brevity and typos Am 22.07.2011 um 16:38 schrieb BatiG batistutagabrielf...@gmail.com: Spring Graph Database is not really what I want. And It could be very hard to deploy that on

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread BatiG
You could look into the code of jo4neo? It could be very usefull and powerfull for everybody!! I mean, with jo4neo, you can create very easly withtout configuration a Graph Database and we could have the web administration. With Spring, you need to configure a lof of files and for myself, I've

Re: [Neo4j] How often are Spatial snapshots published?

2011-07-22 Thread Nolan Darilek
Not sure what's up, but I went ahead and built from Git. All's well now. On 07/22/2011 02:28 AM, Peter Neubauer wrote: Nolan, saftest is to build it yourself from GITHub, I will check the deployment. Is that ok for now? /peter On Fri, Jul 22, 2011 at 3:57 AM, Nolan

Re: [Neo4j] How to download neo4j 1.3 [for using jo4Neo]

2011-07-22 Thread Michael Hunger
You can add Spring Data Graph to any existing Webapp as well. Just saying. I don't think it is difficult to deploy that. Just add SDG to your domain layer. Anyway, whatever approach you use for Object-Graph-Mapping against a remote Server you should be aware that the performance limitations of

Re: [Neo4j] More spatial questions

2011-07-22 Thread Nolan Darilek
OK, thanks for this. Unfortunately my project is getting less attention now than it ever has, but I finally sat down and reworked my architecture. Instead of working with Neo4J Nodes, I've reworked my library to use SpatialDatabaseRecord and am now having a bit more success. I have three more

[Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-07-22 Thread Guillaume ALLEE
Hi, I am using neo4j server 1.4. I want to send a gremin script (which is ok with script with one line). I am wondering if I can send script with line break in it. I currently have /message: Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-07-22 Thread Peter Neubauer
Guillaume, Are you sending it via the rest plugin? In docs.neo4j.org the sample graph example is using multiple lines, separated by semicolon. /peter Sent from my phone. On Jul 22, 2011 6:17 PM, Guillaume ALLEE guillaume.al...@capgemini.com wrote: Hi, I am using neo4j server 1.4. I want to

Re: [Neo4j] NoSuchElementException

2011-07-22 Thread Mattias Persson
2011/7/18 sulabh choudhury sula...@gmail.com Though when I think about it, I guess I would still have the issue of getting duplicate nodes. Say I have 1 million node1, node2, rel entries to put in Neo, What you are suggesting is that I do a Batch of all sets of node1,node2 first and then

[Neo4j] help for Traverser

2011-07-22 Thread sulabh choudhury
Hi, I am trying to create a traverser and I am stuck. So my code takes in a startNode, 2 relationshiptypes and 2 directions. It will starting from startNode go to nodes with rel1 in dir1 and from all those nodes to rel2,dir2. The code below (in SCALA) works fine and I get the expected nodes. The

[Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #8

2011-07-22 Thread Andreas Wilhelm
Hi, This week I started with my second phase of GSOC which means to create an Neo4j geoprocessing example in uDig. For that I set up the development environment for uDig. Also added some more code comments to the spatial functions and installed the doc-toolchain for Neo4j (Spatial). Currently

Re: [Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #8

2011-07-22 Thread reyman
Hi, First, thanks a lot for your work :) If you have time, i post a bug on github about the integration of neo4jSpatial into geoserver, if you want some help on this point, i'am here and ready ! ;) https://github.com/neo4j/neo4j-spatial/issues/12 Best regards, SRey. On Fri, Jul 22, 2011 at

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-22 Thread eialbur
Sorry for the quantity of my questions, and I apologize in advance if any of them are trivial or stupid. ok - so I guess that in my Session Bean I would use the regular old @Resource annotation: @Resource GraphDatabaseService graphDb; Or do I need to declare Neo to jndi and then reference it?

Re: [Neo4j] NOSQL article on InfoWorld

2011-07-22 Thread Charles Bedon
Hello There's also a thread on the article at Slashdot: http://it.slashdot.org/story/11/07/21/1858250/Making-Sense-of-the-NoSQL-Standouts - Charles Edward Bedón Cortázar ITIL Foundation Certified Open Source Network Inventory for the masses!

Re: [Neo4j] Hyperedges and Objects

2011-07-22 Thread Niels Hoogeveen
I simplified the implementation of the enhanced API, mostly removal of code duplication, and added support of a property value associated node. Looking for feedback, especially with regard to the defined interfaces. Use of the enhanced features of the API has consequences for the name/node

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-07-22 Thread Guillaume ALLEE
Hi Peter, Thanks for your answer. I knew that it was possible to put semi colons for line break ;-) To be more precise, I have the following script that was given kindly given by Marko on another thread. m = [:] g.idx('id')[[object_type:'A']].transform{

Re: [Neo4j] Neo4j server - Gremlin plugin - line break in script

2011-07-22 Thread Peter Neubauer
Mmh, ok, I get the thought. Will see how we could do that. How would you like to submit this? JSON with \n instead of ;? Wanna write a test for this. Now back to parental leave and the catastrophe in Norway. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone   

Re: [Neo4j] How often are Spatial snapshots published?

2011-07-22 Thread Anders Nawroth
Hi! Are these snapshots rebuilt regularly? Now they are, again: http://m2.neo4j.org/snapshots/org/neo4j/neo4j-spatial/0.6-SNAPSHOT/ /anders Thanks. ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] how many relationships?

2011-07-22 Thread John cyuczieekc
How would I go about getting all relationships in the entire database ? (with neo4j embedded) I see there is an db.getAllNodes() for nodes is there something similar for relationships? On Wed, Jul 20, 2011 at 7:13 PM, cyuczi eekc cyuczie...@gmail.com wrote: Is there a way to get the number of

Re: [Neo4j] How often are Spatial snapshots published?

2011-07-22 Thread Peter Neubauer
Nice, thanks Anders! And, we want to make a 0.6 release ASAP before merging in all the new good stuff. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter     

Re: [Neo4j] how many relationships?

2011-07-22 Thread Michael Hunger
for (Node node : db.getAllNodes()) for (Relationship rel : node.getRelationships(Direction.OUTGOING)) { // your code here } Michael Am 22.07.2011 um 23:40 schrieb John cyuczieekc: How would I go about getting all relationships in the entire database ? (with neo4j embedded) I see there is

Re: [Neo4j] Officially supported mechanism for J2EE

2011-07-22 Thread Alexander Smirnov
No, that's wrong. To create ( and shut down GraphDatabaseService in your bean, you should: 1) create @Singleton session bean. In its @PostConstruct method, create appropriate GraphDataBase service object, and stop it in @PreDestroy method. You can mark that bean as created on startup, if you wish

Re: [Neo4j] how many relationships?

2011-07-22 Thread John cyuczieekc
Though that is kind of telling me that relationships only exist in java as wrappers for an ordered tuple of nodes. I guess I was thinking that they were stored/accessed differently as unique objects(since they each have an id)... maybe they are but neo4j isn't exposing a method for parsing

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-22 Thread Jörg Richter
I'm seriously trying the superbundle approach and can't get rid of No index provider 'lucene' found. The tests at https://github.com/neo4j/neo4j-osgi run successful but I have serious problems to transfer them to my application (I'm using Felix 3.2.1 on a Mac). Just to check my

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-22 Thread Peter Neubauer
Jörg, Will try to check it out tomorrow. Now sleep. Thanks for the test! /peter Sent from my phone. On Jul 23, 2011 1:10 AM, Jörg Richter j...@deepamehta.de wrote: I'm seriously trying the superbundle approach and can't get rid of No index provider 'lucene' found. The tests at

Re: [Neo4j] OSGi and Neo4j - superbundle approach

2011-07-22 Thread Jörg Richter
On Jul 23, 2011, at 1:13, Peter Neubauer wrote: Will try to check it out tomorrow. Now sleep. Thanks for the test! Sure. Just one addition for tomorrow: the only neo-bundles my application need are kernel and lucene-index. So I did add just these 2 to the super bundle's dependencies instead

Re: [Neo4j] How often are Spatial snapshots published?

2011-07-22 Thread Nolan Darilek
Awesome! Thanks a bunch. On 07/22/2011 04:33 PM, Anders Nawroth wrote: Hi! Are these snapshots rebuilt regularly? Now they are, again: http://m2.neo4j.org/snapshots/org/neo4j/neo4j-spatial/0.6-SNAPSHOT/ /anders Thanks. ___ Neo4j mailing list

Re: [Neo4j] how many relationships?

2011-07-22 Thread Jim Webber
Hi John, Relationships are stored in a different store than nodes. This enables Neo4j to manage lifecycle events (like caching) for nodes and relationships separately. Neo4j really is a graph DB, not a tripple store masquerading as a graph DB. Nonetheless, that code Michael sent still works

Re: [Neo4j] how many relationships?

2011-07-22 Thread John cyuczieekc
Hey Jim, I am sort of glad to hear that, maybe in the future I could see a method like getAllRelationships(), or not, np :) Yes, using Michael's code works, but ... total relations count=100,011 timedelta=3,075,897,991 ns it kind of takes 3 seconds (when not cached) to count 100k relationships

[Neo4j] shortestPath slower than it could be

2011-07-22 Thread John cyuczieekc
Hey guys, me bugging you again :) (This whole thing is kind of based on the lack of being able to get the number of relationships a node has) If I have two nodes, and the first one has 1 million outgoing relationships of the type X to 1 million unique/different nodes, and the second node has 10

[Neo4j] Hybrid Relational + Graph solution

2011-07-22 Thread Felipe Oliveira Carvalho
I'm creating a social network. I would like to use Neo4J to represent the relationships between people (FOLLOWS, WENT_TO, LIKES) and other objects I have in my network. I already started storing the users (and other objects) in PostgreSQL tables. Is it reasonable to use PostgreSQL to store the