Re: [Neo4j] Recent Experience with RingoJS (Rhino) and Neo4j

2011-06-07 Thread Michael Hunger
Hi RR, that sounds fantastic. Do you think you could put this email body into a blog post? It already has the necessary format and depth. We could perhaps also have a guest post on Neo4j.org that covers that. Looking forward to your release. It would be very nice if you could put up a small sa

[Neo4j] Modeling Direction.BOTH Relationships with @RelatedToVia element classes on Neo4J

2011-06-07 Thread Marcello de Sales
Hi All, I have posted this question at the SpringSource NoSQL forum... http://forum.springsource.org/showthread.php?110318-Modeling-Direction.BOTH-Relationships-with-RelatedToVia-element-classes-on-Neo4J... I decided to learn by modifying the my-restaurants-social example by adding an RBAC impleme

Re: [Neo4j] Servlet and Other Multi Threaded Environments

2011-06-07 Thread Johan Svensson
Hi, You can assume all Neo4j APIs are thread safe. If something is not thread safe it will be explicitly stated in the javadocs. If you keep all state that has to be shared between threads in the graph and all other state thread local you don't have to perform any external (or extra) synchronizat

Re: [Neo4j] Recent Experience with RingoJS (Rhino) and Neo4j

2011-06-07 Thread McKinley
Michael, I'd be happy to provide this as blog post with an example application. I'll let you know when the package and example is posted and I'll expand the format a bit for the blog post. One could do amazing and accessible things with Rhino on the Neo4j server. Always check with the RingoJS bra

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

2011-06-07 Thread Peter Neubauer
Very nice Andreas! You consider it safe to pull these changes into the main repo? 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.neo

Re: [Neo4j] Servlet and Other Multi Threaded Environments

2011-06-07 Thread McKinley
Johan, In that Servlet example is the synchronized get on the graphDb reference still necessary on the ServletContextListener? Thanks, McKinley On Tue, Jun 7, 2011 at 1:03 AM, Johan Svensson wrote: > Hi, > > You can assume all Neo4j APIs are thread safe. If something is not > thread safe it wi

Re: [Neo4j] Sample Test Data / Populate database

2011-06-07 Thread Jim Webber
The Doctor Who dataset is trivially generated by running a unit test here: https://github.com/jimwebber/neo4j-tutorial Jim ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] MovieHackDay Berlin Recap

2011-06-07 Thread Peter Neubauer
Great recap Michael, we should probably start a Graph User Group in Berlin! Pere, would you be up for pulling that together, if we support you? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer

Re: [Neo4j] Persistent vs in-memory storage

2011-06-07 Thread Johan Svensson
Hi, Neo4j requires a filesystem and that filesystem may be mounted in RAM or not. You can only control the location of the graph store through the API but it has to be on a supported filesystem. On Linux a in memory graph db can easily be created using /dev/shm: GraphDatabaseService inMemoryG

Re: [Neo4j] Sample Linear Referencing Functions in Neo4j Spatial and GSoC

2011-06-07 Thread Peter Neubauer
Very cool. Maybe you could just doc the parameters more than pointing to the Oracle reference, so one can see it directly in the JavaDoc? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitte

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-06-07 Thread Peter Neubauer
sSuper, did you try with the latest builds, 1.4-SNAPSHOT, available from https://repo.neo4j.org/content/groups/public/org/neo4j/neo4j/1.4-SNAPSHOT/ ? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neu

Re: [Neo4j] Servlet and Other Multi Threaded Environments

2011-06-07 Thread Johan Svensson
Since it is volatile you could remove the synchronized on getGraphDatabase() but if your app depends on getting null graphdb when context has been destroyed you would have to rewrite the contextDestroyed to something like: public void contextDestroyed( ServletContextEvent event ) {

[Neo4j] Defining the Graph Ecosystem - NY Graph Meetup (New York, NY)

2011-06-07 Thread Anders Nawroth
http://www.meetup.com/nygraph/events/20488581/ Sounds interesting if you're in the area! /anders ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Modeling Direction.BOTH Relationships with @RelatedToVia element classes on Neo4J

2011-06-07 Thread Michael Hunger
Marcello, I have a question regarding your domain. Is the relationship really bidirectional? I.e. are there permissions that go _from_ the application, _to_ the user? You really only need both if you have relationships that might be incoming and outgoing and you want to collect all of them. I

Re: [Neo4j] WebAdmin executing bad requests

2011-06-07 Thread Jim Webber
G'day Tatham, Just to prune the search tree a bit. Can you bring up your instance and try to interact with it via curl? That way if it succeeds we know we have a Webadmin problem, or if it fails it's likely we have a config to debug. Give this a shot: curl -X POST -H Accept:application/json -H

Re: [Neo4j] NetSci 2011 Budapest

2011-06-07 Thread Peter Neubauer
Burak, I think there are a number of Neo4j Graphistas in that area - would love to come, too! 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 htt

[Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Boris Kizelshteyn
Greetings! Perhaps someone using neo4j-spatial can answer this seemingly simple question. Nodes classified into layers have both lat/lon properties and bounding boxes, the bounding box seems to be required to establish the relationship between node and layer, however the node is not found if the l

[Neo4j] Geekout Tallin - anyone around?

2011-06-07 Thread Peter Neubauer
Hi all, I'm going to go to Geekout Tallin on Thursday, http://geekout.ee/ . If anyone of you is around, give me a ping, we could meet over a beer and have fun! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Craig Taverner
Hi, The bounding boxes are used by the RTree index, which is a typical way to index spatial data. For Point data, the lat/long and the bounding box are the same thing, but for other shapes (streets/LineString and Polygons), the bounding box is quite different to the actual geometry (which is not j

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Boris Kizelshteyn
Thanks! So it seems you are saying that the bounding box represents a single point and is the same as the lat/lat lon? What if I make the bounding box bigger? What I am trying to do is geo queries against a bounding box made of a set of points, rather than individual points. So the query is, find t

Re: [Neo4j] Servlet and Other Multi Threaded Environments

2011-06-07 Thread McKinley
Johan, Thank you, that really helps. In my particular case I am finalizing my Neo4j package for RingoJS. It is not a ServletContextListener so I can make graphDb "final" in the JavaScript sense ({writable: false, value: seal(graphDb)}). graphDb is assigned at the moment of first import (require("

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-06-07 Thread Eelco Hillenius
I have a similar problem right now, and it seems to be related to the fact that I'm running an older Lucene version : Tue Jun 07 10:43:10 PDT 2011: Failed to load index provider lucene org/apache/lucene/util/Version java.lang.NoClassDefFoundError: org/apache/lucene/util/Version at org.neo

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-06-07 Thread Eelco Hillenius
FWIW, my project is using Lucene 2.3.2 Eelco On Tue, Jun 7, 2011 at 10:45 AM, Eelco Hillenius wrote: > I have a similar problem right now, and it seems to be related to the > fact that I'm running an older Lucene version : > > Tue Jun 07 10:43:10 PDT 2011: Failed to load index provider lucene >

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-06-07 Thread Peter Neubauer
Yes, This looks like a version problem. Neo4j latest uses Lucene the 3.1 Sent from my phone. On Jun 7, 2011 7:47 PM, "Eelco Hillenius" wrote: > FWIW, my project is using Lucene 2.3.2 > > Eelco > > > On Tue, Jun 7, 2011 at 10:45 AM, Eelco Hillenius > wrote: >> I have a similar problem right now,

Re: [Neo4j] Still can't connect with jython

2011-06-07 Thread Peter Neubauer
Very cool Aaron, Good work! Sent from my phone. On Jun 2, 2011 12:48 PM, "Aaron Moffatt" wrote: > I just uploaded bindings I'm working on to GitHub. They work well for me, > though minimally tested. They're for CPython only and JCC must be installed > first. > > https://github.com/OneSaidWho/neo4

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-06-07 Thread Eelco Hillenius
Yeah. I'm sharing this because I get that came error in my console (but not the stack trace), so others might have the same problem without it being immediately obvious that this is a Lucene version problem as it was for me. Cheers, Eelco On Tue, Jun 7, 2011 at 10:49 AM, Peter Neubauer wrote: >

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Craig Taverner
I think you need to differentiate the bounding boxes of the data in the layer (stored in the database), and the bounding box of the search query. The search query is not stored in the database, and will not be seen as a node or nodes in the database. So if you want to search for data within some bo

Re: [Neo4j] Sample Linear Referencing Functions in Neo4j Spatial and GSoC

2011-06-07 Thread Craig Taverner
Done. Although now we have 20 lines of comments for 1 line of method code. Previously we had 4 lines of comments for one line of code. Whew! On Tue, Jun 7, 2011 at 11:02 AM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Very cool. > Maybe you could just doc the parameters more than

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

2011-06-07 Thread Craig Taverner
I suggest you code review them first. Especially since there are API changes. On Tue, Jun 7, 2011 at 10:11 AM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Very nice Andreas! > > You consider it safe to pull these changes into the main repo? > > Cheers, > > /peter neubauer > > GTal

[Neo4j] Use case for Neo4j spatial

2011-06-07 Thread Alfredas Chmieliauskas
Dear all, I'm looking at a problem that could present an interesting use case for neo4j spatial capabilities. I've managed to compile a list of natural gas pipelines with their coordinates, see http://enipedia.tudelft.nl/wiki/NaturalGasInfrastructure Its a web of paths that go from gas fields to m

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

2011-06-07 Thread Andreas Wilhelm
Well first I should add some more documentation/comments :-P and then we could review the code. Am 07.06.2011 22:29, schrieb Craig Taverner: > I suggest you code review them first. Especially since there are API > changes. > > On Tue, Jun 7, 2011 at 10:11 AM, Peter Neubauer< > peter.neuba...@ne

Re: [Neo4j] Still can't connect with jython

2011-06-07 Thread Aaron Moffatt
Thanks! Needs work, but works with native python. At least it does for me :) Aaron On Tue, Jun 7, 2011 at 10:59 AM, Peter Neubauer wrote: > Very cool Aaron, > Good work! > > Sent from my phone. > On Jun 2, 2011 12:48 PM, "Aaron Moffatt" wrote: > > I just uploaded bindings I'm working on to Gi

Re: [Neo4j] neo4j spatial bounding box vs. lat/lon

2011-06-07 Thread Boris Kizelshteyn
Thanks for the detailed response! Here is what I'm trying to do and I'm still not sure how to accomplish it: 1. I have a node which is a person 2. I have geo data as that person moves around the world 3. I use the geodata to create a bounding box of where that person has been today 4. I want to

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-06-07 Thread Super Wang
Hi Peter, I've tried these bundles: - org.neo4j:neo4j-kernel:1.4-SNAPSHOT - org.neo4j:neo4j-lucene-index:1.4-SNAPSHOT

Re: [Neo4j] LuceneIndex IllegalArgumentException

2011-06-07 Thread Super Wang
There's same error in 1.4.M03 or 1.4.SNAPSHOT too: Root exception: java.lang.IllegalArgumentException: No index provider 'lucene' found at org.neo4j.kernel.IndexManagerImpl.getIndexProvider(IndexManagerImpl.java:69) at org.neo4j.kernel.IndexManagerImpl.findIndexConfig(IndexManagerImpl.java:109) a

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-07 Thread Super Wang
Who can help me get out this? On Sat, Jun 4, 2011 at 10:08, Super Wang wrote: > Hi, I'm following this guide to run Felix 3.2.2 in my eclipse 3.6.2. One > simple different is I'm using a JavaSE-1.6 as execution environment JRE(see > the attached snapshot). > > After done, copy the following bund

Re: [Neo4j] How to embed neo4j to OSGI env without spring?

2011-06-07 Thread Peter Neubauer
Super, I will try to pull up an environment today, but not sure I can make it as there is a lot of other stuff to do. Will keep you posted on the progress. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/

Re: [Neo4j] LuceneIndex IllegalArgumentException

2011-06-07 Thread David Montag
Hi, Can you please confirm that you have the lucene index JAR file on the classpath? Thanks, David On Tue, Jun 7, 2011 at 10:10 PM, Super Wang wrote: > There's same error in 1.4.M03 or 1.4.SNAPSHOT too: > > Root exception: > java.lang.IllegalArgumentException: No index provider 'lucene' found

Re: [Neo4j] No index provider 'lucene' found - osgi

2011-06-07 Thread Eelco Hillenius
So what version of Lucene are you on? After I upped my version of Lucene (to 3.2.0) my problem went away. If you're using Maven, you might also want to check for duplicates (mvn dependency:tree > out.txt and look for multiple entries of Lucene). Eelco On Tue, Jun 7, 2011 at 10:08 PM, Super Wang