[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

[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

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

[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

[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

[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

[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

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:

[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

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 http://twitter.com/peterneubauer Open Data

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

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

2014-05-13 Thread Jannis Hermanns
Only found this threadhttps://groups.google.com/forum/#!searchin/neo4j/show$20processlist/neo4j/3q3OMeBiLHM/ZNTGWofH9QAJ, 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

[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

[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

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 sot.b...@gmail.com wrote: Hi, I am trying to get more familiar with the java-rest-binding (

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

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 gisig...@gmail.com

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, nulik...@gmail.com wrote: Hi, how do I change the name of already existent label in neo4j

[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

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,

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

[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 C, D* *r3 =

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 ritapy...@gmail.com: Hi Michael, Thank you for the response and idea, but I need to get relationships from index to update them on

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 ritapy...@gmail.com: Hi Michael, Thank you for the response and idea, but I need to get relationships from index to update them on