[Neo4j] Compact/efficient network API for 2.x

2014-02-20 Thread Christopher Smith
I'm building an application where queries will fall reasonably distinctly into record retrieval and graph queries. I'd ideally like to store all of my data in a single Neo4J instance, but I'm concerned about scalability and ease of redeployment when we push updated software. SQL and document da

[Neo4j] Re: Alternative Index provider for Neo4j

2014-02-20 Thread Reihane Boghrati
Hi again, I have another question about indexing, Will these two kinds of indexing work the same (I mean is the way they index the schema the same?)?: JAVA API: IndexDefinition indexDefinition; try ( Transaction tx = graphDb.beginTx() ) { Schema schema = graphDb.schema(); indexDefinition

Re: [Neo4j] NEO4J_INSTANCE env variable

2014-02-20 Thread Julian Simpson
Hi, I think you'll need to edit the '/etc/init.d/neo4j-service' script, as it doesn't seem to have a way to override NEO4J_INSTANCE. Not sure what version you are using, etc, so can't help you much further. Feel free to raise a GitHub issue when you have more detail, so this can be fixed in a fu

[Neo4j] How to remove old node labels and relationship types in web ui?

2014-02-20 Thread Chaoxu Tong
Hi Guys, I was doing some experiments in the db and now have removed all the nodes. But the node labels still show up in web ui and you can click them. Is there anyway to get rid of them? -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscrib

[Neo4j] Calculating Triangles in an undirected subgraph

2014-02-20 Thread Shmulik
Hi, I am trying to figure out how to efficiently calculate the number of distinct triangles in a undirected sub-graph. For example number of triangles in a users graph which include him and his friends. Count should include triangles including user (me)-[:KNOWS]-(a)-[:KNOWS]-(b) but also (c)-[:

Re: [Neo4j] Re: Merging a "Bidirectional" Relationship

2014-02-20 Thread Michael Hunger
MERGE without arrows were added and will be available in the next release. Until then try to replace that last merge with CREATE UNIQUE Michael Am 20.02.2014 um 23:30 schrieb Ben Titmarsh : > I'd bluffed myself into thinking that I'd solved this but actually I hadn't. > This is my cypher: >

Re: [Neo4j] UpgradeNotAllowedByConfigurationException with allow_store_upgrade=true

2014-02-20 Thread Ben Titmarsh
Well regardless, getting a dump from a db that with shut down cleanly worked for me. I am certain that both versions are using 2.0.0 but I agree that it's odd that the stack trace mentions 1.9.5. Thanks for your help. On Thursday, February 20, 2014 7:12:15 PM UTC, Chris Vest wrote: > > Okay, s

Re: [Neo4j] Re: Merging a "Bidirectional" Relationship

2014-02-20 Thread Ben Titmarsh
I'd bluffed myself into thinking that I'd solved this but actually I hadn't. This is my cypher: MATCH (fromCard:Card { name: {fromCardName}}),(toCard:Card{ name: {toCardName}}) MERGE (fromCard:Card)-[r:DECK_INCIDENCE]->(toCard:Card) SET r.passCount = coalesce(r.passCount, 0) +1 For each pair o

Re: [Neo4j] Re: Convenient interface to manually build social network data

2014-02-20 Thread Jean-Baptiste Gallopin
Hi all, thanks for your comments and encouragements. Jim -- you seem to be reading a lot into who I am and what I do. I merely deleted the post because it indadvertedly included my full name and I was not able to edit it. My approach to sociology is mostly qualitative and my current focus on Arab

[Neo4j] Re: Convenient interface to manually build social network data

2014-02-20 Thread Jim Salmons
Hi Erik and Jean, +1 to you both. Sadly, judging by the deletion of the post that prompted my reply, I think our community is more willing to help Jean-Baptiste than he is willing to learn. There's that old saying about horses and water that seems to ring true here. And congrats Erik on your c

[Neo4j] NEO4J_INSTANCE env variable

2014-02-20 Thread Chaoxu Tong
Dear all, I'm a newbie to neo4j and I am having a issue setting default location of the database. 1. The default is /var/lib/neo4j while I want it to be at /data/neo4j. 2. I can change /etc/neo4j/neo4j-server.properties to let neo4j write data to /data/neo4j 3. But I cannot remove /var/lib/neo4

[Neo4j] Need help in CQL(neo4j)

2014-02-20 Thread Shailza
I imported http://blog.bruggen.com/2013/10/same-csv-files-different-neo4j-database.html";>last.fm dataset in neo4j 2.0.1. I want to traverse the graph starting from node index:101 and follow the relatioships : 101->logs->features. In MySQL i am trying to execute the query is as follow:

[Neo4j] Re: Convenient interface to manually build social network data

2014-02-20 Thread Erik Hanson
Jean-Baptiste, I recently did an MA project using neo4j (graphing characters and elements of a video game), and I don't have much of a background in programming (I got my BA in rhetoric and poetry). I started my MA project using Neoclipse, but I found that even with a fairly small graph, things

[Neo4j] Re: Help with Labels and properties after loading data

2014-02-20 Thread José F . Morales
OK, upon Dan Greene's advise, here is some of the code I used to make the database. This is only a small subset of the nodes and relationships. CREATE (blor:Body_Location_or_Region:Anatomy:ANAT:UMLS{STY_RL:'Body Location or Region',RT:'STY',UI:'T029',STN_RTN :'A2.1.5.2',EX :0,NH :'Y'}) CREATE

Re: [Neo4j] UpgradeNotAllowedByConfigurationException with allow_store_upgrade=true

2014-02-20 Thread Chris Vest
Okay, so you copied a 2.0.0 store, but the stack trace reveals that all your jar files are for version 1.9.5. Obviously 1.9.5 don't know how to deal with a 2.0.0 store. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 20 Feb 2014, at 17:08, Ben Titmarsh

[Neo4j] Match querying with a list of node names

2014-02-20 Thread Alx
I am relatively new to Neo4j and I am trying to update specific nodes. I have a .txt file with 10K node names. I also have a neo4j graph db that carries 4M nodes and contains these 10K nodes. I want to traverse the graph db and update a property (i.e. present or not) on each node when there is

Re: [Neo4j] Bad performance with concurrent writes to Blueprints Neo4j

2014-02-20 Thread David Erickson
On Thursday, February 20, 2014 12:36:12 AM UTC-8, Wes Freeman wrote: > > On Wednesday, February 19, 2014 6:12:19 PM UTC-8, David Erickson wrote: >>> >>> Thanks for the response Max, unfortunately our expectation is that 1600 >>> vertices/s of writing capability is a few orders of magnitude below

Re: [Neo4j] http rest endpoint

2014-02-20 Thread Alex Frieden
uggg dumb mistake, I was inputting into the query a StringBuilder not a String. On Thu, Feb 20, 2014 at 10:50 AM, Alex Frieden wrote: > I have tested a simple version of http hitting the cypher rest endpoint > and it works. I a doing a more complicated one now: I am getting back this > value f

Re: [Neo4j] UpgradeNotAllowedByConfigurationException with allow_store_upgrade=true

2014-02-20 Thread Ben Titmarsh
Well this is the odd thing, the live instance is running on 2.0.0 so it shouldn't even require an upgrade..? On Thursday, February 20, 2014 4:06:35 PM UTC, Chris Vest wrote: > > Since you copied it form a running 1.9.5 instance, you could put it in a > local 1.9.5, start it up and let it do reco

Re: [Neo4j] UpgradeNotAllowedByConfigurationException with allow_store_upgrade=true

2014-02-20 Thread Chris Vest
Since you copied it form a running 1.9.5 instance, you could put it in a local 1.9.5, start it up and let it do recovery on the store, then shut that down cleanly, and then copy the clean store to 2.0.1 for upgrading. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter:

Re: [Neo4j] UpgradeNotAllowedByConfigurationException with allow_store_upgrade=true

2014-02-20 Thread Ben Titmarsh
Ah that could well be the problem! I've asked my live db admin for a new dump from a cleanly shutdown instance. In the mean time is it possible for me to twiddle a file anywhere to use the version that I've been given (presumably from a running instance)? On Thursday, February 20, 2014 3:37:3

[Neo4j] http rest endpoint

2014-02-20 Thread Alex Frieden
I have tested a simple version of http hitting the cypher rest endpoint and it works. I a doing a more complicated one now: I am getting back this value from the endpoint: fail![status:500, statusText:Server Error, headers:[[Content-Type:text/html; charset=ISO-8859-1], [Cache-Control:must-rev

Re: [Neo4j] UpgradeNotAllowedByConfigurationException with allow_store_upgrade=true

2014-02-20 Thread Chris Vest
Neo4j cannot upgrade stores that have not been cleanly shut down, because the store recovery mechanism is version specific. Could that be the problem? -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 20 Feb 2014, at 15:48, Ben Titmarsh wrote: > Hi Guys

[Neo4j] UpgradeNotAllowedByConfigurationException with allow_store_upgrade=true

2014-02-20 Thread Ben Titmarsh
Hi Guys, I've been running by Neo 2.0.0 server fine locally until I replaced the graph.db folder with a dump from my live app (also running 2.0.0) since then when try to start the server with neo4j console I get: WARNING: Max 256 open files allowed, minimum of 40 000 recommended. See the Neo4j

Re: [Neo4j] BatchImport and Spatial data..

2014-02-20 Thread Michael Hunger
Yep, true. Craig, Peter and I have still planned to upgrade Neo4j spatial to use batch-inserter for high volume ingestion thoughout but haven't gotten around to actually do the work. So right now you'll have to use the transactional APIs. > java.lang.NoSuchMethodError Is almost always an versi

Re: [Neo4j] BatchImport and Spatial data..

2014-02-20 Thread Zeeshan Arif
I think the batch-importer only adds luncene indices and is not ready to accept the "spatial" index type with lat/lon fields. It throws NPE in neo4j unsafe package code. When I attempted to do the usual way by creating a GraphDatabaseService after the batch-importer has issued a finish() call i

Re: [Neo4j] Converting Neo4j node to Blueprints Vertex

2014-02-20 Thread Pablo Pareja
Thanks Peter! Cheers, Pablo On Thu, Feb 20, 2014 at 10:56 AM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Answered there, > Thanks Pablo for reaching out! > > /peter > > (snt)-[:frm]->(phn) > On Feb 20, 2014 10:21 AM, "Pablo Pareja" wrote: > >> Hi everyone, >> >> I just posted

Re: [Neo4j] Converting Neo4j node to Blueprints Vertex

2014-02-20 Thread Peter Neubauer
Answered there, Thanks Pablo for reaching out! /peter (snt)-[:frm]->(phn) On Feb 20, 2014 10:21 AM, "Pablo Pareja" wrote: > Hi everyone, > > I just posted this question at stackoverflow: > > > http://stackoverflow.com/questions/21903263/how-can-i-convert-a-neo4j-node-to-a-blueprints-vertex > >

[Neo4j] Converting Neo4j node to Blueprints Vertex

2014-02-20 Thread Pablo Pareja
Hi everyone, I just posted this question at stackoverflow: http://stackoverflow.com/questions/21903263/how-can-i-convert-a-neo4j-node-to-a-blueprints-vertex Any help would be deeply appreciated! ;) Cheers, Pablo -- Pablo Pareja Tobes My site http://about.me/pablopareja LinkedInhttp:

Re: [Neo4j] Bad performance with concurrent writes to Blueprints Neo4j

2014-02-20 Thread Michael Hunger
Sorry my bad that was 1 node and 1 relationship per round, with plain nodes it's 400k nodes per second. > 120k-150k (node+rel pairs) per second with 1 thread and 150k/s with 4 threads Am 20.02.2014 um 09:38 schrieb Michael Hunger : > Hi Nikhil, > > I've escalated your findings to our engineer

Re: [Neo4j] Bad performance with concurrent writes to Blueprints Neo4j

2014-02-20 Thread Michael Hunger
Hi Nikhil, I've escalated your findings to our engineering team. They'll look into it and most likely make improvements in the next releases. Btw the order of magnitude is 120k-150k nodes per second with 1 thread and 150k/s with 4 threads Michael Sent from mobile device Am 20.02.2014 um 08:0

Re: [Neo4j] Bad performance with concurrent writes to Blueprints Neo4j

2014-02-20 Thread Wes Freeman
> > On Wednesday, February 19, 2014 6:12:19 PM UTC-8, David Erickson wrote: >> >> Thanks for the response Max, unfortunately our expectation is that 1600 >> vertices/s of writing capability is a few orders of magnitude below what we >> expect/need. Probably your benchmark also has a lot of overhea