[Neo4j] Re: NEO4J Spatial - clarification about batch insertions

2014-05-13 Thread Angelo Immediata
Hi Craig I forgot one information; I'm using this version of graphCollection: 0.7.1-neo4j-2.0.1 Angelo Il giorno giovedì 1 maggio 2014 10:44:10 UTC+2, Angelo Immediata ha scritto: > > Hi there > This is my scenario: we are building a routing system by using neo4j and > the spatial plugin. We s

Re: [Neo4j] numeric query on lucene batch inserter

2014-05-13 Thread Michael Hunger
You can put many millions relationships into an array that's no problem. Up to 2.4 bn fit into a single array :) Michael Am 13.05.2014 um 10:51 schrieb Rita : > Hi Michael, > Thank you for the response and idea, but I need to get relationships from > index to update them on index and graph (I d

Re: [Neo4j] numeric query on lucene batch inserter

2014-05-13 Thread Michael Hunger
You can put many millions relationships into an array that's no problem. Up to 2.4 bn fit into a single array :) Michael Am 13.05.2014 um 10:51 schrieb Rita : > Hi Michael, > Thank you for the response and idea, but I need to get relationships from > index to update them on index and graph (I d

[Neo4j] How to create relation between one/two existing node(s)

2014-05-13 Thread Quazi Marufur Rahman
Hi, I am using the following code to create four new nodes A, B, C, D and relations among them. *a, b, r1 = g.create(node({"name": "A"}), node({"name": "B"}), rel(0, "KNOWS", 1)) #rel between A, B* *c, d, r2 = g.create(node({"name": "C"}), node({"name": "D"}), rel(0, "KNOWS", 1)) #rel between

Re: [Neo4j] Re: querying a layer's index

2014-05-13 Thread Javad Karabi
hey craig, im actually working on my own version of a jruby neo4j wrapper. the code is at https://github.com/karabijavad/cadet/tree/spatial/lib/cadet/spatial honestly, im just trying to get a basic Layer and spatial Session class up and running, but for the life of me i cant figure out how to eve

Re: [Neo4j] neo4j spatial

2014-05-13 Thread zapo
it is aleatory, sometimes it s ok and sometimes not ! -- 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, send an email to neo4j+unsubscr...@googlegroups.com. For more options, visit https:

Re: [Neo4j] Re: querying a layer's index

2014-05-13 Thread Craig Taverner
Could you send sample code? What version of Neo4j are you using? Are you using the neo4j-spatial.rb rubygem? That gem is very old, and probably incompatible with the version of Neo4j you used. If I can see the code you used, I could reproduce the problem and perhaps it is easy to fix. On Mon, Ma

[Neo4j] GraphAlgoFactory.dijkstra( PathExpander expander, String relationshipPropertyRepresentingCost ) very slow performance

2014-05-13 Thread Antonio Grimaldi
Hi, i'm using neo4j 2.0.3 with embedded DB,in order to build a route system. I created my graph (with around 1 Million of Nodes, and 50 Million of relationships; ) in this way: - create nodes : Label mainNodeLabel = DynamicLabel.label("nodoPrincipale"); // initialize batchInse

Re: [Neo4j] change label name

2014-05-13 Thread Craig Taverner
One option to consider, which works even on a live database, is to relabel the nodes with a new label. See http://blog.amanzi.org/2014/04/paging-huge-cypher-requests.html On Tue, May 13, 2014 at 3:55 PM, wrote: > Hi, > how do I change the name of already existent label in neo4j v2 ? > I found

Re: [Neo4j] neo4j spatial

2014-05-13 Thread Craig Taverner
You are not the first to report this error. It seems to be happening to others too, only if they import many nodes in the same transaction. Are you able to write a contained test case that reproduces the problem so we can try and debug it? On Sun, May 11, 2014 at 4:11 PM, zapo wrote: > thanks,

Re: [Neo4j] neo4j spatial rest api delete layer

2014-05-13 Thread Craig Taverner
Unfortunately the only methods supported by the REST API are those found in this class: https://github.com/neo4j/spatial/blob/master/src/main/java/org/neo4j/gis/spatial/server/plugin/SpatialPlugin.java To be honest, the REST API on spatial was written as an initial draft to receive feedback from t

Re: [Neo4j] neo4j-java-binding quetions

2014-05-13 Thread Alex Frieden
In general you will find it to be VERY slow. I would suggest going through cypher, it is much faster. What is your use case? On Tue, May 13, 2014 at 11:07 AM, Sotiris Beis wrote: > Hi, > I am trying to get more familiar with the java-rest-binding ( > https://github.com/neo4j/java-rest-binding

[Neo4j] Sync pb of 2 instances of Neo4j in HA mode

2014-05-13 Thread natasha betcent
Hi, I use 2 instances of Neo4j v2.0.1 in HA mode and after a problem of disk space on master instance that has involved the unavailibility on master and switch on slave several time, after available space on initial master instance, I stop and start instance. All seems to be all right on cons

[Neo4j] neo4j-java-binding quetions

2014-05-13 Thread Sotiris Beis
Hi, I am trying to get more familiar with the java-rest-binding (https://github.com/neo4j/java-rest-binding). My main question is what operations of the GraphDatabaseService supports. For example I read here

Re: [Neo4j] find node by label

2014-05-13 Thread Alex Frieden
Do you have any indexes or constraints set up? For instance create index on :Person(name) This creates an index on the Person label of the name property. You NEED to do this if you haven't already. On Tue, May 13, 2014 at 10:49 AM, dani wrote: > hey' > i have a db with 250,000,000 relations

[Neo4j] neo4j spatial rest api delete layer

2014-05-13 Thread zapo
hi, is it possible to delete a layer from the REST API ? regards -- 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, send an email to neo4j+unsubscr...@googlegroups.com. For more options, v

Re: [Neo4j] one big favor for next release

2014-05-13 Thread Alex Frieden
That only comes up when you are disconnected from neo4j server. Are you disconnecting from it? On Tue, May 13, 2014 at 10:01 AM, wrote: > Hi, > > can I ask the developers to remove the popup div that appears saying > "Disconnected from Neo4j. Please check if the cord is unplugged." ? > I am wo

[Neo4j] one big favor for next release

2014-05-13 Thread nuliknol
Hi, can I ask the developers to remove the popup div that appears saying "Disconnected from Neo4j. Please check if the cord is unplugged." ? I am working with my database preparing screenshots of relationships of nodes, and then suddenly it appears (on the screen) and all my work is lost, I can

[Neo4j] change label name

2014-05-13 Thread nuliknol
Hi, how do I change the name of already existent label in neo4j v2 ? I found a file neostore.labeltokenstore.db.names but I don't know if I can modify this file with vi, there seems to be the length of the label in front of the actual string so after modifying the string this value must be upda

[Neo4j] Is there something like SHOW PROCESSLIST to see which queries/traversals are running?

2014-05-13 Thread Jannis Hermanns
Only found this thread, and was wondering how I can tell what my vanilla neo4j 2.0.3 instance is busy doing at the moment. Is there/will there be something like SHOW PROCESSLIST to see/kill runn

Re: [Neo4j] neo4j 2.0.3 - spatial

2014-05-13 Thread Axel Morgner
Hi Grahame, there's a Spatial version for Neo4j 2.0.2. https://github.com/neo4j-contrib/m2/tree/master/releases/org/neo4j/neo4j-spatial When I have a little more time next week, I'll deploy a version for 2.0.3, and I'll ask Michael to upload the server plugin. Best, Axel Am 09.05.2014 18:

Re: [Neo4j] error in executing java embedded neo4j database ,need org.neo4j.graphdb package api

2014-05-13 Thread Peter Neubauer
Hi Sandeep, you can start following this example: http://docs.neo4j.org/chunked/milestone/tutorials-java-embedded.html HTH /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer Open Data

[Neo4j] Edges weighted with exchange rates

2014-05-13 Thread Evan Schwartz
I only just started looking into Neo4j but I am interested in whether it can be used to calculate the shortest paths between nodes where the edge weights are exchange rates. Let's say I have 10 MXN and need to deliver to Alice 7 EUR. Various currency traders have posted orders for different rat

[Neo4j] error in executing java embedded neo4j database ,need org.neo4j.graphdb package api

2014-05-13 Thread Sandeep Baral
Hello everyone, I am new to neo4j database and creating a small academic project.I have searched some program and tries to execute the program but could not connect to org.neo4j.graphdb package. Can anyone, please provide me the org.neo4j.graphdb package api so that i could be able to run my pr

[Neo4j] Neo4j HA HAProxy

2014-05-13 Thread Diego Burgos Sancho
Hi, I am experiencing some trouble with the communication between HAProxy and Neo4j when I test the failover of a replica in my Neo4j HA cluster. In my testbed I have 5 machines. 2 machines run Neo4j (1 Master and 1 Slave). 1 machine runs the Neo4j arbiter, 1 machine runs the HAProxy and the la

Re: [Neo4j] What is the content of rrd file actually?

2014-05-13 Thread chris . vest
The store_lock file makes sure that only a single Neo4j instance can start up and use the files. The log files store raw transactions. They are used for many things, so don't remove them! Instead look into their configuration parameters, if they get too big or too numerous: http://docs.neo4j.o

[Neo4j] neo4j 2.0.3 - spatial

2014-05-13 Thread Grahame Horner
I've downloaded the neo4j windows package v2.0.3 and would like to install the spatial plugin; I've noticed the pre-built spatial plugin has no version for 2.0.3? so I'm using the build list for neo4j v2.0.1 and extracted the file into plugin folder, started neo4j however the extension is not s

[Neo4j] Neo4j HA HAProxy

2014-05-13 Thread Diego Burgos Sancho
I am experiencing some trouble with the communication between HAProxy and Neo4j when I test the failover of a replica in my Neo4j HA cluster. In my testbed I have 5 machines. 2 machines run Neo4j (1 Master and 1 Slave). 1 machine runs the Neo4j arbiter, 1 machine runs the HAProxy and the last on

Re: [Neo4j] Re: numeric query on lucene batch inserter

2014-05-13 Thread Rita
Hi Michael, Thank you for the response and idea, but I need to get relationships from index to update them on index and graph (I don't need transactional way). Relationships are many millions, so I can't put them into an array. I have to think to other solutions. Rita Il giorno lunedì 12 magg

[Neo4j] Question about a heavy operation

2014-05-13 Thread frandro
I'm implementing an SNS service. A important feature I need is to get friend nodes within a specific depth. For example, friends can be 1-depth friends, 2-depth friends (including 1-depth friends) and 3-depth friends (including 1~2 depth friends). The operation can be heavy so the results should

[Neo4j] Question about a heavy operation

2014-05-13 Thread frandro
I'm implementing an SNS service. A important feature I need is to get friend nodes within a specific depth. For example, friends can be 1-depth friends, 2-depth friends and 3-depth friends. The operation can be heavy so the results should be split into multiple parts. For 2-depth friends, the p