Re: [Neo4j] May it be an SDN 3.0.0 bug ?

2014-03-31 Thread Michael Hunger
Michael, you shouldn't use 3.0.0 in production. It has not yet been tested for that! Are you sure you use SDN-REST with simple mapping? It sounds like you get the automatic deletion on cleaning the collection. (Or it is a bug, related to the managed collection that's normally used to hold the rel

Re: [Neo4j] Data created via Java not accessible through web console unless I restart

2014-03-31 Thread Michael Hunger
You shouldn't be able to write to the server directory at all. That's really confusing. On Tue, Apr 1, 2014 at 7:53 AM, Nick Gramsky wrote: > Having issues querying data in the web console if the data was created > using the Java libraries. If I restart Neo4j it then shows up. I have a > deta

Re: [Neo4j] Need to restart neo4j to view new nodes created via Java?

2014-03-31 Thread Michael Hunger
JDBC is a database connection library (protocol) that Rickard Öberg and I implemented for Neo4j. So you can connect to a database, send parametrized queries and retrieve tabular results. On Tue, Apr 1, 2014 at 7:57 AM, Nick Gramsky wrote: > My stack question can be found here. Offering a bount

Re: [Neo4j] Need to restart neo4j to view new nodes created via Java?

2014-03-31 Thread Nick Gramsky
My stack question can be found here. Offering a bounty as I really need to figure this out http://stackoverflow.com/questions/22626824/need-to-restart-neo4j-to-view-new-data On Tuesday, April 1, 2014 1:56:07 AM UTC-4, Nick Gramsky wrote: > > Hi Michael, > > Sorry, I just reposted here. I t

Re: [Neo4j] Need to restart neo4j to view new nodes created via Java?

2014-03-31 Thread Nick Gramsky
Hi Michael, Sorry, I just reposted here. I tried to find tis post and it was not showing up. I just recently was able to see this post again. Anyways - I don't understand your answer. When I look up JDBC it seems like it is a GUI for interacting with Neo4J and not a library to write queries

[Neo4j] Data created via Java not accessible through web console unless I restart

2014-03-31 Thread Nick Gramsky
Having issues querying data in the web console if the data was created using the Java libraries. If I restart Neo4j it then shows up. I have a detailed explanation here: http://stackoverflow.com/questions/22626824/need-to-restart-neo4j-to-view-new-data Pulling my hair out trying to figure o

[Neo4j] May it be an SDN 3.0.0 bug ?

2014-03-31 Thread Michael Azerhad
I use the SDN 3.0.0 in production (I know this isn't the last version). Basically, I have a `Parent` class (@NodeEntity) having a relationship (Set[Child]) to its children, without no declared @Fetch on it. When I want to update the parent, I do: 1. Find the parent to update through the repo

Re: [Neo4j] Neo4j spatial help needed

2014-03-31 Thread Michael Hunger
Hi Jenny, sorry that you have a hard time getting going with Neo4j spatial. Which version of Neo4j Spatial are you using? We recently released: 0.13-neo4j-2.0.1 Did you see Max' blog post and webinar? http://maxdemarzi.com/2014/02/11/neo4j-spatial-part-2/ | https://vimeo.com/89064528 Let me try t

Re: [Neo4j] Neo4j Spatial help needed

2014-03-31 Thread Axel Morgner
Hi Jenny, yes, it's tricky, getting all pieces together to have a working database with spatial. But it can be done. Question is, do you want to create the app by coding everything from the ground up (which is fun, and you learn a lot about spatial/Neo4j), or do you want to get a working web

Re: [Neo4j] Neo4j on Azure

2014-03-31 Thread Michael Hunger
Did you configure conf/neo4j-server.properties to listen at the 0.0.0.0 interface ? Uncomment that line. On Mon, Mar 31, 2014 at 6:04 PM, Pradeep Panzade wrote: > I have created VM (Windows Server 2012 R2) on Windows Azure and installed > Neo4j on that VM. I am able to access using http://local

[Neo4j] Neo4j on Azure

2014-03-31 Thread Pradeep Panzade
I have created VM (Windows Server 2012 R2) on Windows Azure and installed Neo4j on that VM. I am able to access using http://localhost:7474 link. When I try to access the same from my local laptop, I am not able to access. I have created Endpoint for Neo4j on VM and also opened the port 7474. Pl

[Neo4j] Neo4j spatial help needed

2014-03-31 Thread Jenny Pettersson
Hi! Trying to build a social network app with Neo4j 2.0 but unfortunately the spatial plugin is giving me a hard time. It's difficult to find documentation/samples and my trial and error approach is rather frustrating and time consuming so I would really appreciate clarification to a couple of

[Neo4j] Neo4j Spatial help needed

2014-03-31 Thread Jenny Pettersson
Hi! Trying to build a social network app with Neo4j 2.0 but unfortunately the spatial plugin is giving me a hard time. It's difficult to find documentation/samples and my trial and error approach is rather frustrating and time consuming so I would really appreciate clarification to a couple of

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-31 Thread Rio Eduardo
Hi Michael, you mean don't use dataset that doesn't make sense? Please help me just by checking my last two queries. I'm testing my thesis until depth of five only. and is there no others way to speed up the traversal in cypher? maybe shortestPath? is the only way using traversal-API? Please h

[Neo4j] Re: Chyper query never ends!!

2014-03-31 Thread Antonio Grimaldi
Hi Michael, Can you give me some news ? Thanks Il giorno martedì 25 marzo 2014 09:20:19 UTC+1, Antonio Grimaldi ha scritto: > > i tried to execute this cypher query : > > StringBuilder sb = new StringBuilder("START startNode = node(269604), > endNode = node(269605) > MATCH path=(startNode)-[:C

[Neo4j] Re: Getting associated node's properties of nodes returned by AllShortestPaths function

2014-03-31 Thread Lundin
Good one, thanks for sharing that =) Den måndagen den 31:e mars 2014 kl. 16:02:31 UTC+2 skrev Michael Azerhad: > > Thanks Lundin, but.. Wow, you see this part of your query: > > MATCH users-[:ASSOCIATED_TO]->(profile) > > it would grab ALL paths ;) ..let's say I have 2 millions of users, it

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-31 Thread Lundin
Michael, Wow i just looked into the Traversal API docs on neo4j. Will this kind of functionallity like the evaluater ever be exposed to Cypher commands and intepreted ? I program Gol(lang) and Nodejs but this framework combined with Neo4j is a good reason for start using Java ;) Den måndagen d

[Neo4j] Re: Getting associated node's properties of nodes returned by AllShortestPaths function

2014-03-31 Thread Michael Azerhad
Thanks Lundin, but.. Wow, you see this part of your query: MATCH users-[:ASSOCIATED_TO]->(profile) it would grab ALL paths ;) ..let's say I have 2 millions of users, it would get the 2 millions of paths.. (Your query took 3900 ms to execute ...) Just too long and too heavy I've just ma

[Neo4j] Re: Getting associated node's properties of nodes returned by AllShortestPaths function

2014-03-31 Thread Lundin
Hi, Mabey something more simple like this MATCH (u1:People { name: "MYname" }),(u2:People { name: "myfriend" }), knowledgePath = allShortestPaths(u1-[:KNOWS*..4]-(u2)) WITH nodes( knowledgePath) AS knowledgeNodes,u1,u2 MATCH users-[:ASSOCIATED_TO]->( profile) WITH profile,knowledgeNodes,u1,u2 WI

[Neo4j] Re: Neo4J at FreeBSD

2014-03-31 Thread Paul Jongsma
Had the same issue and I found that creating a dedicated neo4j user with bash as shell resolves it. The steps I did to get Neo4J 2.0.1 running: pkg install bash pkg install openjdk pkg install lsof Modify both the neo4j and utils script to use /usr/local/bin/bash instead of /bin/bash su to ne

[Neo4j] Is it possible to load different graph.db into neo4j at the same time?

2014-03-31 Thread 黃首翰
Hi all, I have a huge data need to be loaded into neo4j and I want to partition those data into many subgraphs( will be many graph.db, like graph-0.db, graph-1.db,etc.) then use java embeddedDatabase to start some of them at the same time, so that I can query across databases. but it seems like

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-31 Thread Michael Hunger
Just use a dataset that you can reason about and check if they work correctly. Hard for me to be the consistency checker on your queries :) In general if you really want to do these deep traversals you might be better off (in terms of performance) using the traversal-API with an appropriate uniqu

[Neo4j] Getting associated node's properties of nodes returned by AllShortestPaths function

2014-03-31 Thread Michael Azerhad
Hi, Let's assume this beginning of Cypher query, aiming to retrieve all shortest paths (regarding knowledge) between two users: MATCH (u1:User {id: "1"}), (u2:User {id: "2"}), knowledgePath =allShortestPaths (u1-[:KNOWS*..4]-(u2)) Besides, each User is linked to a UserProfile node in the graph

Re: [Neo4j] error with foreach in transaction endpoint

2014-03-31 Thread Lundin
Hi! Try remove the , sign in the multiple operations (MERGE and CREATE) in the FOREACH loop i.e MERGE (allele:Allele:Locus {contig:a.contig,lower:a.lower,upper:a.upper,pattern:a.pattern,lesion:a.lesion}) CREATE (sd)-[:HAS_ALLELE]->(allele));" Den måndagen den 31:e mars 2014 kl. 14:02:34 UTC

Re: [Neo4j] error with foreach in transaction endpoint

2014-03-31 Thread Alex Frieden
Formatted poorly, arrow should be pointing to parenthesis immediately after FOREACH Neo.ClientError.Statement.InvalidSyntax, message:Invalid input '(': expected whitespace, comment, '=', node labels, MapLiteral, a parameter, a relationship pattern, ',', START, MATCH, MERGE, CREATE, SET, DELETE, RE

[Neo4j] error with foreach in transaction endpoint

2014-03-31 Thread Alex Frieden
MATCH (vcfFile:VcfFile {name:{_vcfFileName}}) MERGE (s:Sample {name:{sample}.name}) CREATE (vcfRecord {vcfRecord}),(sd:SampleData {sampleData}),(vcfRecord)-[:IN_FILE]->(vcfFile),(sd)-[:COMES_FROM]->(vcfRecord),(sample)-[:HAS]->(sd), FOREACH ( a in {alleles} | MERGE (allele:Allele:Locus {contig

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-31 Thread Rio Eduardo
Hello again Michael. I just want to make sure that my query is correct to find friends of friends at depth of four and five. Please help me by checking my query. Query at depth of four: MATCH (U:User)-[F:Friend]->(FU:User)-[FF:Friend]->(FFU:User) WHERE U.user_id=1 WITH DISTINCT U, FU, FFU WHERE

[Neo4j] Re: Maximum for Labels

2014-03-31 Thread Philippe Baumard
> > Thanks Michael, > Please, But how many Labels can support a graph? And another question: How many embedded graphs (several connections) (*) can i exploit in an unique web application. (*) what exactly a connection take storage? Thank you Michael -- You received this message because you