Re: [Neo4j] Multiple relationship of same type between two nodes

2014-01-22 Thread Michael Hunger
Yep thats perfectly fine Sent from mobile device Am 23.01.2014 um 07:02 schrieb Harshal Vora : > Ok, I figured the difference between the two queries and why the second one > returns so many results. > > But, I still need to know if it is possible to store the same relation > multiple times b

Re: [Neo4j] db path in web portal

2014-01-22 Thread Michael Hunger
Edit conf/neo4j-server.properties put in the correct directory location Sent from mobile device Am 23.01.2014 um 07:23 schrieb Kalidhakani J : > How can i make neo4j web portal to point to the database that i created? > -- > You received this message because you are subscribed to the Google Gro

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-22 Thread Michael Hunger
You have to provide the same ha config as in server as map to the HA-DB Sent from mobile device Am 23.01.2014 um 05:36 schrieb Kalidhakani J : > Actually my servers are running. I am trying to use the server's db. How can > I do that in embedded highly available graph database ?? When i try to

[Neo4j] db path in web portal

2014-01-22 Thread Kalidhakani J
How can i make neo4j web portal to point to the database that i created? -- 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 op

Re: [Neo4j] Cypher query to collect data from three nodes

2014-01-22 Thread mesteruh mesteruh
http://console.neo4j.org/?id=hvaq63 correct url -- 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://grou

Re: [Neo4j] Cypher query to collect data from three nodes

2014-01-22 Thread mesteruh mesteruh
> > I confudsed... > http://console.neo4j.org/r/hvaq63-this work correct. this is my structure, but in neo4j admin on my pc this not work!! i cannot understand why -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from th

Re: [Neo4j] Multiple relationship of same type between two nodes

2014-01-22 Thread Harshal Vora
Ok, I figured the difference between the two queries and why the second one returns so many results. But, I still need to know if it is possible to store the same relation multiple times between two same nodes with different attributes for the relation? Regards, On Wednesday, January 22, 2014

Re: [Neo4j] Cypher query to collect data from three nodes

2014-01-22 Thread Wes Freeman
Seems to work for me: http://console.neo4j.org/r/7vtvsw On Thu, Jan 23, 2014 at 12:05 AM, mesteruh mesteruh wrote: > Lvl1data >> Lvl1data >> Lvl2data >> Lvl2data >> Lvl1data >> Lvl2data >> >> > This console return me. I want that this query return this data > > Lvl1data > Lvl1data > Lvl

Re: [Neo4j] Cypher query to collect data from three nodes

2014-01-22 Thread mesteruh mesteruh
> > Lvl1data > Lvl1data > Lvl2data > Lvl2data > Lvl1data > Lvl2data > > This console return me. I want that this query return this data Lvl1data Lvl1data Lvl2data Lvl3data Lvl2data Lvl1data Lvl2data Lvl3data ,.,,, *I need recursion query* or Foreach query ) -- You

Re: [Neo4j] Cypher query to collect data from three nodes

2014-01-22 Thread Wes Freeman
Can you post sample data on console? Looks like that query should work. On Wed, Jan 22, 2014 at 11:50 PM, mesteruh mesteruh wrote: > > I have 3 nodes. Lvl1,Lvl2 and Lvl3. I want collect data in one array to > add it to treeview. > > MATCH (root:Lvl1)-[:HAVE_

[Neo4j] Cypher query to collect data from three nodes

2014-01-22 Thread mesteruh mesteruh
I have 3 nodes. Lvl1,Lvl2 and Lvl3. I want collect data in one array to add it to treeview. MATCH (root:Lvl1)-[:HAVE_LVL2|HAVE_LVL3*0..]->(leaf) RETURN distinct leaf This query return Lvl1data Lvl1data Lvl2data Lvl2data Lvl1data Its good query bu

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-22 Thread Kalidhakani J
Actually my servers are running. I am trying to use the server's db. How can I do that in embedded highly available graph database ?? When i try to create a embedded highly available graph database giving the path name as server's db path, it is showing me this exception. How can i implement it ??

Re: [Neo4j] Looking for 2.0.1 (milestone is OK)

2014-01-22 Thread Alan Robertson
Good to know! Thanks!! On 1/22/2014 6:08 PM, Michael Hunger wrote: Hi Alan, It is one to two weeks out. Cheers Michael On Thu, Jan 23, 2014 at 2:06 AM, Alan Robertson > wrote: Having asked the question, an answer would be appreciated :-D. When is the first 2

Re: [Neo4j] Return all events that occurred between two dates, with hours included

2014-01-22 Thread Michael Azerhad
Hi Alex, I'm especially interested in the theory of this practice. On Thursday, January 23, 2014 3:07:11 AM UTC+1, Alex Frieden wrote: > > got a graphgist or console? > > > On Wed, Jan 22, 2014 at 9:04 PM, Michael Azerhad > > > wrote: > >> Hi, >> >> I would like to know what would be a "best" p

Re: [Neo4j] Return all events that occurred between two dates, with hours included

2014-01-22 Thread Alex Frieden
got a graphgist or console? On Wed, Jan 22, 2014 at 9:04 PM, Michael Azerhad wrote: > Hi, > > I would like to know what would be a "best" practice to deal with range > dates. > > So, here my use case: > > I have a lot of events in my graph, I want to return all events that > occurred between two

[Neo4j] Return all events that occurred between two dates.

2014-01-22 Thread Michael Azerhad
Hi, I would like to know what would be a good practice to deal with range dates in a graph database. So, here my use case: I have a lot of events in my graph, I want to return all events that occurred between two dates (format /MM/DD HH:MM). Currently, I structured each Event node with a

[Neo4j] Return all events that occurred between two dates, with hours included

2014-01-22 Thread Michael Azerhad
Hi, I would like to know what would be a "best" practice to deal with range dates. So, here my use case: I have a lot of events in my graph, I want to return all events that occurred between two dates (format /MM/DD HH:MM). Currently, I structured each Event node with a "startAt" indexed

Re: [Neo4j] using example unmanaged extension yields error

2014-01-22 Thread Javad Karabi
The problem is I can't even boot neo4j, as the error occurs On Jan 22, 2014 7:02 PM, "Michael Hunger" wrote: > You have to prefix with what you configured: in the config file. > > http://localhost:7474/examples/unmanaged/helloworld/0 > > Michael > > > On Thu, Jan 23, 2014 at 12:01 AM, Javad Karab

Re: [Neo4j] Looking for 2.0.1 (milestone is OK)

2014-01-22 Thread Michael Hunger
Hi Alan, It is one to two weeks out. Cheers Michael On Thu, Jan 23, 2014 at 2:06 AM, Alan Robertson wrote: > Having asked the question, an answer would be appreciated :-D. > > When is the first 2.0.1 milestone expected? > > > > > On 1/17/2014 3:15 PM, Michael Hunger wrote: > > They have been

Re: [Neo4j] Looking for 2.0.1 (milestone is OK)

2014-01-22 Thread Alan Robertson
Having asked the question, an answer would be appreciated :-D. When is the first 2.0.1 milestone expected? On 1/17/2014 3:15 PM, Michael Hunger wrote: They have been, at least in master. the most prominent one was breaking legacy indexing for put-if-absent. Michael Am 17.01.2014 um 22:56 s

Re: [Neo4j] Writing a Cypher query having to do with likelihood of purchase given correlated sales histories

2014-01-22 Thread Michael Hunger
See my answer on StackOverflow: http://stackoverflow.com/a/21296982/728812 On Wed, Jan 22, 2014 at 11:45 PM, Jason Gilmore wrote: > Hi, > > I'm a few weeks into the wonderful world of Neo4j and am starting to write > somewhat more ambitious queries. I'm struggling with one such query that > att

Re: [Neo4j] using example unmanaged extension yields error

2014-01-22 Thread Michael Hunger
You have to prefix with what you configured: in the config file. http://localhost:7474/examples/unmanaged/helloworld/0 Michael On Thu, Jan 23, 2014 at 12:01 AM, Javad Karabi wrote: > I am using: > > https://github.com/neo4j/neo4j/blob/2.0.0/community/server-examples/src/main/java/org/neo4j/exa

Re: [Neo4j] DocGraph DB and Neo4j.

2014-01-22 Thread Michael Hunger
You have to remove the comment signs (#) at the beginning of the lines in the config file. # Initial Java Heap Size (in MB) wrapper.java.initmemory=6400 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=6400 I assume you have JDK 7_21 or _25 running which consequently only allocates a tiny

[Neo4j] Writing a Cypher query having to do with likelihood of purchase given correlated sales histories

2014-01-22 Thread Jason Gilmore
Hi, I'm a few weeks into the wonderful world of Neo4j and am starting to write somewhat more ambitious queries. I'm struggling with one such query that attempts to identify a set of customers C1 who do not own a product P1 but who do own a product P2 that is also owned by a set of customers C2

[Neo4j] How does Cypher Perform Graph Pattern Matching

2014-01-22 Thread Satya Vikas
Hello guys, I'm a graduate student from University of Georgia working on a Graph Pattern Matching project. Can anyone please explain how does Cypher perform the Graph Pattern Matching? I'm interested in knowing what concepts (SubGraph Isomorphism or Graph Simulation etc etc ..) does Cypher

Re: [Neo4j] StackOverflow error with 1200 lines of CREATE statements

2014-01-22 Thread Michael Hunger
The GraphGist was never meant to handle such amounts of data, it runs a tiny tiny in-memory version of Neo4j in many parallel sessions, please limit your data size there to at most 100 nodes. Do you get the same issue in the Neo4j-Shell on your local system? There was a similar issue lately which

[Neo4j] using example unmanaged extension yields error

2014-01-22 Thread Javad Karabi
I am using: https://github.com/neo4j/neo4j/blob/2.0.0/community/server-examples/src/main/java/org/neo4j/examples/server/unmanaged/HelloWorldResource.java I compile this, make a jar of it, then place it under plugins, then I set: org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.examples.server.u

[Neo4j] DocGraph DB and Neo4j.

2014-01-22 Thread Alx
I am new to Neo4j and I started playing with DocGraph (https://dl.dropboxusercontent.com/u/57740873/neo_doc_v1.tar.gz) . It is a 1.8 database describing referrals between physicians. The database is loaded to Neo4j but when I try to do any query from the webrowser the server crashes. I checked

[Neo4j] StackOverflow error with 1200 lines of CREATE statements

2014-01-22 Thread Kevin Greene
I'm having a weird stack overflow error with Neo4j, if someone could take a look I'd appreciate it. I've been working on the GraphGist winter challenge, and my progress is here: https://gist.github.com/KevinGreene/8493604. If you run this in graphgist, there is a stack overflow error, so I t

Re: [Neo4j] Suggestion:Adding functionality to Execution engine to give cypher query

2014-01-22 Thread Wes Freeman
Maybe he's looking for a way to dump what the query would be if the parameters were literals? Wes On Wed, Jan 22, 2014 at 1:06 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > Sorry Atul > > I don't understand what you mean > > There is no place where a query gets concatenated >

[Neo4j] Re: Can I reference node Labels in data browser style rules?

2014-01-22 Thread Jim Salmons
Roymond, Yes, this feature will be VERY helpful to tap the new features for visualization via the browser... and I think it can be easily done -- if not at the level of full integration -- at least to the degree that this could be easily supported by a slight tweak to the current implementation

[Neo4j] neo4django

2014-01-22 Thread Antonio Mignolli
Hi. I'm quite enthusiastic about neo4django, I am building a nice project with it. However I feel a bit worried when I think about some bugs / issues. I would be glad to contribute but I'm not sure I have skills and time to do it. I am wondering if neo4django can be considered stable enough to buil

Re: [Neo4j] Suggestion:Adding functionality to Execution engine to give cypher query

2014-01-22 Thread Michael Hunger
Sorry Atul I don't understand what you mean There is no place where a query gets concatenated It evaluates the parameters in the map at execution-time when needed with their value Sent from mobile device Am 22.01.2014 um 19:00 schrieb Atul Agrawal : > Hello everyone, > > I was trying neo4j

Re: [Neo4j] [Testing / Java] Simpler test assertions with AssertJ-Neo4j

2014-01-22 Thread Florent Biville
(first) issue filed: https://github.com/joel-costigliola/assertj-neo4j/issues/1 !! Feel free to comment it if you have refinements or other Cypher-result-related use cases in mind. On Wednesday, 22 January 2014 18:50:20 UTC+1, Florent Biville wrote: > > Hi, > > The only service > class

[Neo4j] Suggestion:Adding functionality to Execution engine to give cypher query

2014-01-22 Thread Atul Agrawal
Hello everyone, I was trying neo4j and I came up with this functionality which can be implemented. While using cypher from java application we can use Map to match parameters of Cypher query to their value.(engine.execute(query,params))). It will be great if you can make the function "which is r

Re: [Neo4j] [Testing / Java] Simpler test assertions with AssertJ-Neo4j

2014-01-22 Thread Florent Biville
Hi, The only service classused in the examples wrap Cypher query results into Node/Relationship instances. However, I agree with you assertions on ExecutionResul

Re: [Neo4j] Multiple relationship of same type between two nodes

2014-01-22 Thread Harshal Vora
Hi Peter, What is the difference between start a = node(26) match p=a-[r:COORD_DEFINED_BY]-() return r ; AND start a = node(26) match p=a-[r:COORD_DEFINED_BY]-()--() return r Why does the first query return only one row while the second query returns 13 rows? All same. Also, I have stored b

Re: [Neo4j] [Testing / Java] Simpler test assertions with AssertJ-Neo4j

2014-01-22 Thread Peter Neubauer
Florent, that is superneat! Is there anything that needs to be done or documented to use this with the output of cypher statements? Would make a lot of testing even in the core codebase much simpler! /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/

[Neo4j] Re: Route planner software based on neo4j

2014-01-22 Thread Angelo Immediata
Hi Craig Thank you for replying; I was sick and I couldn't give a look earlier Anyway I'm little bit confused on how to index my own nodes and/or how to create my own adapter In my scenario I'm parsing an OSM file in order to create my own model domain. Basically my model domain will be composed

Re: [Neo4j] Recover Corrupted database with org.neo4j.graphdb.NotFoundException

2014-01-22 Thread Michael Hunger
Stefan there is also the stackoverflow post: http://stackoverflow.com/questions/21238902/recover-corrupt-neo4j-database-after-server-crash-graphdb-notfoundexception On Wed, Jan 22, 2014 at 3:30 PM, Stefan Armbruster wrote: > To understand the issue let me recap: > * you're running 1.9.2 Communi

Re: [Neo4j] Recover Corrupted database with org.neo4j.graphdb.NotFoundException

2014-01-22 Thread Stefan Armbruster
To understand the issue let me recap: * you're running 1.9.2 Community edition? * without any concurrent queries you get the NotFoundException for node 20924 constantly in a read-only cypher query? Further questions: * What is the cypher statement you're executing? * Does the NotFoundException per

Re: [Neo4j] SEVERE: Failed to start Neo Server on port [7474]

2014-01-22 Thread Michael Hunger
Did you check after the clean up with? find / -iname "*neo4j*" ? But then why are there two different graph-database directories in the two logs? Can you check /etc/neo4j/neo4j-server.properties what db-directory it points to? On Wed, Jan 22, 2014 at 11:10 AM, vahid chakoshy wrote: > i remove

Re: [Neo4j] SEVERE: Failed to start Neo Server on port [7474]

2014-01-22 Thread Michael Hunger
These are two different databases, the first log shows: /usr/local/src/neo4j-community-2.0.0/data/graph.db as database path The second log shows: /var/lib/neo4j/data/graph.db Something is really wrong with your installation. Do you try to start the debian package? If so, can you check the databa

Re: [Neo4j] SEVERE: Failed to start Neo Server on port [7474]

2014-01-22 Thread Michael Hunger
After the discussion on SO, I'm still confused, there are too many parallel Neo4j versions going on. I gone one set of logs from you where a missing allow_store_upgrade=true is the reason for a failed start (2.0) And another one for 1.8.3 which fails because a thread doing NIO was interrupted (don

Re: [Neo4j] SEVERE: Failed to start Neo Server on port [7474]

2014-01-22 Thread vahid chakoshy
neo is not started bro, ps aux | grep java root 2576 0.0 0.0 11172 980 pts/3S+ 11:43 0:00 grep --color=auto java On Wednesday, January 22, 2014 11:39:53 AM UTC+3:30, Sukaant Chaudhary wrote: > > Hi, > Use the following command as root: > *netstat -tulpn* > > If you g

Re: [Neo4j] SEVERE: Failed to start Neo Server on port [7474]

2014-01-22 Thread Sukaant Chaudhary
Hi, Use the following command as root: *netstat -tulpn* If you get something like this: *tcp6 0 0 127.0.0.1:7473 :::*LISTEN 1157/java tcp6 0 0 127.0.0.1:7474 :::* LISTEN 1157/java