[Neo4j] Sorry! Too many neighbours

2014-09-09 Thread Pavan Kumar
Hi all, How to resolve "Sorry! Too many neighbors" in neo4j browser. Any help would be greatly appreciated. -- Thanks & Regards, Pavan -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it,

[Neo4j] Neo4J server is stuck close to 100% CPU

2014-09-09 Thread Krishna Shetty
I have posted this question on stackoverflow at: Neo4J server is stuck close to 100% CPU I am still facing this issue, could you please give some hints to fix this? Thank you. -- You received this message beca

[Neo4j] Re: Automatically Creating/Parsing inverse relationships

2014-09-09 Thread Michael Fair
On Thursday, September 4, 2014 2:26:39 AM UTC-7, Mark Findlater wrote: > > hood stuff as I do not know enough about how Neo maintains it's indexes, > how the query/relationship/object caches work and whether there is any > performance impact of creating twice as many relationships (I expect that

Re: [Neo4j] Multiple database, one server

2014-09-09 Thread Michael Hunger
Hi Sarah, it means if you have a graph and stay within the graph boundaries with your operations / queries then having no connections between two graphs makes them disconnected, so e.g. serving 2 customers. On Tue, Sep 9, 2014 at 2:27 PM, Sarah West wrote: > Thank you Michael. Could you please

Re: [Neo4j] Multiple database, one server

2014-09-09 Thread Sarah West
Thank you Michael. Could you please explain "you can create disconneted db's within one server that serve different customers.", sorry I do not understand. On Tuesday, September 9, 2014 1:13:28 AM UTC-5, Michael Hunger wrote: > > Hi Sarah, > > Neo4j does not yet support multi-tenancy. You can s

Re: [Neo4j] Spatial Containment

2014-09-09 Thread Alireza Rezaei Mahdiraji
My layer was defined using SimplePointEncoder.class but I changed to WTK: runningLayer = (EditableLayer) graphDBSpatial.getOrCreateLayer(layerName, WKBGeometryEncoder.class, EditableLayerImpl.class, geomEn

[Neo4j] Re: "Unknown Error" using "withinDistance"

2014-09-09 Thread Mohana Krishna
I have assumed a node of type "Person" is connected to node of type "Theater" if the theater fetched most collections in terms of money for his movie. Similarly, a node of type "Movie" is connected to a node of type "Theater" if the movie has played in the theater. In such a case issuing the fo

Re: [Neo4j] Spatial Containment

2014-09-09 Thread Alireza Rezaei Mahdiraji
Hi Craig, The semantic of the data is of geometrical sgapes as follows: 1-there are vertices which have their own coordinates and I created them using Point p = runningLayer.getGeometryFactory().createPoint(coord); and then add them to the layer: SpatialDatabaseRecord v = runningLayer.add(p

[Neo4j] Re: "Unknown Error" using "withinDistance"

2014-09-09 Thread Mohana Krishna
Suppose there is a node of 3rd type (label): Theater . A node of type theater is connected to a node of type person "if at least one of his movies had been played in the theater" . Similarly, a node of type theater is connected to a node of type movie "if the movie had been played in the theate

[Neo4j] Re: "Unknown Error" using "withinDistance"

2014-09-09 Thread Mohana Krishna
Thanks Craig. I have a doubt. In the case you have mentioned there are no cliques right!? The path will be returned if two movies are connected by a path. But that doesn't ensure all nodes with in path are connected to one another. Please enlighten further. Thanks again. On Tuesday, 12 August

Re: [Neo4j] How to increment the value in db

2014-09-09 Thread Aru Sahni
Assuming you have some unique way of matching the nodes you want, you could do something like this: MERGE (n:Count { uid: 3 }) ON MATCH SET n.count = n.count + {increment} ON CREATE SET n.count = {increment} RETURN n; On Tue, Sep 9, 2014 at 7:39 AM, Sukaant Chaudhary < sukaant.chaudh...@gmail.com

[Neo4j] How to increment the value in db

2014-09-09 Thread Sukaant Chaudhary
Hi, I'm using the following query: MERGE (count:Count {count: {count}}) RETURN count; But my requirement is like: Suppose *count = 10* it is already there in the db, no if I'll store again *count = 2*, then in my case the value of count will be 2, in new node, but I want the value of count should

Re: [Neo4j] Re: Searching for spatial nodes into geometry box from shapefile

2014-09-09 Thread Craig Taverner
Converting Shapefiles to JTS Geometries can be done easily with the GeoTools library gt-shapefile. We include this library in Neo4j Spatial, and use it in, for example in the ShapefileImporter. See the code at https://github.com/neo4j-contrib/spatial/blob/master/src/main/java/org/neo4j/gis/spatial/

Re: [Neo4j] neo4j spatial

2014-09-09 Thread Craig Taverner
Also, when we built the library we deliberately wanted to allow you to store the spatial data in whatever way suited you. This was to match the fact that many people were already modeling their own spatial data in their own ways, and we did not want to force them to change their models. So we provi

[Neo4j] Re: Creating a metadata repository - what's better, Neo4j or PostgreSQL?

2014-09-09 Thread Jan Andrs
Hi, Mark, sorry for the late response: 1) How much data is there on each node/edge? Each node has only several string attributes. Therefore the node size is up to 200 bytes. 2) What was the memory setup for both DBs? As Neo wants to load everything into memory your 1.2 million nodes and 3

Re: [Neo4j] Connect Neo4j with Android

2014-09-09 Thread Peter Neubauer
Hi there, first thing - are you wanting to embed Neo4j into Android or have the datase run as a server in the cloud and talk to it from an Android client over the network? For embedding Neo4j into Android, there is https://github.com/neo4j-contrib/neo4j-mobile-android which is on an old Neo4j vers