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

2014-01-21 Thread vahid chakoshy
I cant run neo4j on my ubuntu server, and this is my neo4j log Jan 22, 2014 11:01:19 AM org.neo4j.server.logging.Logger log INFO: Setting startup timeout to: 12ms based on -1 Jan 22, 2014 11:01:21 AM org.neo4j.server.logging.Logger log SEVERE: org.neo4j.server.ServerStartupException: Starting

Re: [Neo4j] Gephi Streaming and Neo4j

2014-01-21 Thread Patrick Durusau
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, Trying again in case I got the wrong file. Downloading: http://dist.neo4j.org/jexp/shell/neo4j-shell-tools-2.0.zip Perhaps I did lower case a instead of A on the replace question? Continuing. Restarted server, neo4j-shell, exporting

Re: [Neo4j] Gephi Streaming and Neo4j

2014-01-21 Thread Michael Hunger
Really that's weird, b/c I changed the label format to :labe1l:label2:label3 But it still shows the comma separated one in your case. Perhaps it was not up to date? Where did you download it? Michael My current export looks like this: http://graphml.graphdrawing.org/xmlns"; xmlns:xsi="http://

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

2014-01-21 Thread Florent Biville
Hi everyone, Although I have announced this a while ago on my blog, I realize I did not mention the first release of AssertJ-Neo4j to the official group here. First things first, AssertJ

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

2014-01-21 Thread bsgelley
Hi, I have a neo4j database with several million nodes and about as many relationships. While running a program that was adding data to it, the JVM seems to have crashed. When I later tried to query the database using an index, it opened normally and retrieved some of the nodes, but at some po

Re: [Neo4j] re: contributing to allow for index to be leverage when peforming a range query

2014-01-21 Thread Michael Hunger
I think this is too deep in the kernel, right now there is not even an API for that. One of the ideas is to do push-down predicates, so that index-providers can advertise which kinds of expressions (e.g. ranges) they support and then the "AST-Expression" would be sent to the index for evaluatio

[Neo4j] re: contributing to allow for index to be leverage when peforming a range query

2014-01-21 Thread Javad Karabi
where should i look in the neo4j code, if i would like to help with this? -- 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 o

Re: [Neo4j] cypher query with optional match

2014-01-21 Thread Alex Frieden
Thanks Wes worked perfectly! On Jan 21, 2014 12:44 PM, "Wes Freeman" wrote: > Probably the easiest way is to use the *0.. variable length path notation > (0 or more); also, it's a good idea to put arrows in your queries: > > MATCH (n:Variant { name:'variant2' > })<-[:UPDATED_VARIANT*0..]-(v)--(a:

Re: [Neo4j] neo4j 1.8 version failing to start repeatedly

2014-01-21 Thread Alx
Hi Joseph, I am stuck on the same issue. I have the latest version of Neo4j. What is the neo4j user on your example? I used the chown command and I replace the user to my user name on mac. Thanks, Alex On Sunday, March 3, 2013 2:16:09 PM UTC-5, Joseph Lust wrote: > > The correction for this,

Re: [Neo4j] usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
for what it is worth, it _is_ actually using traversalmatcher when i write the query in the most elegant and cleanest way (that is, i dont even need to use WITH, i can just use one MATCH clause to find my anchor then put all my conditions in one WHERE clause). the problem is, when (for whatever re

Re: [Neo4j] usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
michael, i will continue to investigate too. would you like any information from my side? On Tue, Jan 21, 2014 at 1:56 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > Interesting, I assumed with 2.0 final it would still use the > traversal-matcher -> there were some fixes aroun

Re: [Neo4j] usefulness of using WITH instead of one big match/where

2014-01-21 Thread Michael Hunger
Interesting, I assumed with 2.0 final it would still use the traversal-matcher -> there were some fixes around that in 2.0 Let's check that out and report a GH issue in case it persists. Michael Am 21.01.2014 um 20:48 schrieb Javad Karabi : > this is weird... in your example, you got the membe

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
this is weird... in your example, you got the member node and piped it into the next portion, via: MATCH (me:Member {id: {member_id}}) WITH me, me.birth_year as birth_year im assuming this is so that the comparison on me.birth_year and other.birth_year can occur, without having the cross-path comp

Re: [Neo4j] Gephi Streaming and Neo4j

2014-01-21 Thread Patrick Durusau
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael, I just downloaded the latest neo4j-shell-tools and an export got: User,expertValidation,SeedNode269740110Andreyana IvanovaadiivanovaPassionate and inspiring Equality & Diversity Practitioner35522110LondonLondon0enhttp://pbs.twimg.com/profile

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Michael Hunger
Yes, that's true. cross path meant from different segments of the path. Michael Am 21.01.2014 um 18:37 schrieb Javad Karabi : > ah... i think i know what you mean. > that is, that i am comparing me.birth_year, and other.birth_year, both of > which were part of the same path, so splitting it u

Re: [Neo4j] cypher query with optional match

2014-01-21 Thread Wes Freeman
Probably the easiest way is to use the *0.. variable length path notation (0 or more); also, it's a good idea to put arrows in your queries: MATCH (n:Variant { name:'variant2' })<-[:UPDATED_VARIANT*0..]-(v)--(a:Allele) RETURN n,v,a In cases where no :UPDATED_VARIANT relationship exists, n and v w

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
ah... i think i know what you mean. that is, that i am comparing me.birth_year, and other.birth_year, both of which were part of the same path, so splitting it up like you did (via the WITH me.birth_year) did the trick? On Tuesday, January 21, 2014 11:31:24 AM UTC-6, Javad Karabi wrote: > > Mich

[Neo4j] cypher query with optional match

2014-01-21 Thread Alex Frieden
Hi all, I have this graph. http://console.neo4j.org/r/2yadry (let me know if that doesn't work) create (_6:Allele {name:"allele1"}), (_7:Variant {name:"variant1"}), (_8:Variant {name:"variant2"}), _6-[:HAS_VARIANT]->_7, _7-[:UPDATED_VARIANT]->_8 I want to be able to get the allele from any v

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
Michael, awesome, thank you. just to make sure I understand correctly, in this case, when you say 'cross path comparison', what are the 2 paths you are referring to? On Tuesday, January 21, 2014 11:21:32 AM UTC-6, Michael Hunger wrote: > > Right, cross path comparisons are not yet used to short

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
Michael, I apologize, I will send you a copy of the query + profile too. In my actual query, I am using a parameter of the cypher query: WHERE other.birth_year > (me.birth_year - {age_difference_range}) AND other.birth_year < (me.birth_year + {age_difference_range}) here is the relevant prof

Re: [Neo4j] Hi, need a help for integrate data from csv file in Neo4j

2014-01-21 Thread Javad Karabi
silhadi, check out my project for an example of how i am importing CSV data to an embedded neo4j instance via jruby: https://github.com/karabijavad/cadet-example/blob/master/cadet-lobbyist-example.rb On Saturday, January 18, 2014 6:03:08 PM UTC-6, Michael Hunger wrote: > > What would your graph m

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Michael Hunger
Right, cross path comparisons are not yet used to shortcut path-finding so if you rewrite your query to this, it will actually filter down the paths eagerly MATCH (me:Member {id: 11700}) WITH me, me.birth_year as birth_year MATCH (me)-[ra:preferred_store]->(s)<-[rb:preferred_store]-(other)-[rc:

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
You will notice: "WHERE (Property(NodeIdentifier(),cached_available(71)) == Literal(1)" in the TraversalMatcher() portion, the very first function of the profile.. I believe that this is what is meant when the documentation says that the WHERE clause is not done after, (therefore during) the mat

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
Mark, I have emailed you the query and profile for both cases. On Tuesday, January 21, 2014 10:55:03 AM UTC-6, Javad Karabi wrote: > > Mark, I would be happy to. Give me a moment and I will post them. > > Michael, > >- Kernel version > >neo4j-browser, version: 2.0.0 >- >

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Michael Hunger
The problem is cross-path expressions, which are not yet handled in that manner for simple expressions that only contain a single piece of the path (node, rel) and things that have been evaluated before (parameters, literals, previous computations) WILL be used to shortcut the path evaluation.

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
Mark, I would be happy to. Give me a moment and I will post them. Michael, - Kernel version neo4j-browser, version: 2.0.0 - On Tuesday, January 21, 2014 10:49:37 AM UTC-6, Michael Hunger wrote: > > Java, what version are you using? > > 2.0 final? > > Michael > > Am 21.01.20

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Michael Hunger
Java, what version are you using? 2.0 final? Michael Am 21.01.2014 um 17:29 schrieb Javad Karabi : > from what I can tell, if there where clause is ">" or "<" (as it is in the > actual query which i am using, not in this example query...) then the WHERE > predicate _is in fact_ a filter, appl

Re: [Neo4j] [CYPHER] About Using Index clause

2014-01-21 Thread Javad Karabi
Wes, could you elaborate on the following? "You can specify more than one, but you have to have a WHERE clause with an equality comparison on a property in the label index." On Monday, January 20, 2014 3:41:47 PM UTC-6, Wes Freeman wrote: > > The USING INDEX is for specifying which index(es) you

Re: [Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Mark Needham
Javad, Can you paste the PROFILE output for the two queries on here. In theory the two queries should do the same thing...in practice I imagine that's not the case! Mark On 21 January 2014 16:29, Javad Karabi wrote: > from what I can tell, if there where clause is ">" or "<" (as it is in the

[Neo4j] Re: usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
from what I can tell, if there where clause is ">" or "<" (as it is in the actual query which i am using, not in this example query...) then the WHERE predicate _is in fact_ a filter, applied _after_ the match. It looks to me that "TraversalMatcher()" does not apply predicates which involve > or

[Neo4j] usefulness of using WITH instead of one big match/where

2014-01-21 Thread Javad Karabi
(c:Customer)-[:ordered]->(p:Product)-[:category]->(:Category) Now, say that there are 2: c-[:ordered]->(:Product { name: "pants", quantity: 10}) c-[:ordered]->(:Product { name: "shirt", quantity: 5}) Now, say that if I only want to cross the category relationship if the p.quantity > 6 In th

Re: [Neo4j] It takes so long time to create nodes to do stress test

2014-01-21 Thread Michael Hunger
What is your actual use-cae ? Don't use rest-graphdb for performance critical things. If you want to insert larger amounts of data, use cypher with the transactional endpoint. Either by using the http endpoint directly or by leveraging something like the jdbc-driver http://neo4j.org/develop/to

Re: [Neo4j] It takes so long time to create nodes to do stress test

2014-01-21 Thread frandro
It does not make any difference. I'm using RestGraphDatabase as a graph db. There's nothing I've set. The environment is windows 7 x64 and i5-3570 and 16GB ram. 2014년 1월 20일 월요일 오전 9시 30분 55초 UTC+9, Michael Hunger 님의 말: > > The problem is that you try to create one node per tx, you should try

Re: [Neo4j] neo4j slave instances are taking more time compare to master in HA environment(neo4j-enterprise-1.9.5)

2014-01-21 Thread Michael Hunger
Can you share the code of your extension (also privately) ? Michael Am 21.01.2014 um 13:30 schrieb Ramesh Yakkala : > Hi Michael, > > Could you please clear the error messages in the given post,since it have the > my project package. > > Thanks, > Ramesh Yakkala. > > On Tuesday, January 21,

Re: [Neo4j] neo4j slave instances are taking more time compare to master in HA environment(neo4j-enterprise-1.9.5)

2014-01-21 Thread Ramesh Yakkala
Hi Michael, Could you please clear the error messages in the given post,since it have the my project package. Thanks, Ramesh Yakkala. On Tuesday, January 21, 2014 4:38:23 PM UTC+5:30, Michael Hunger wrote: > > We don't recommend to run write transaction on the slaves just on the > master. > As

Re: [Neo4j] neo4j slave instances are taking more time compare to master in HA environment(neo4j-enterprise-1.9.5)

2014-01-21 Thread Michael Hunger
#1 You could configure your load balancer to use the available endpoints for testing which is the master and routing write requests to it. (general docs. http://docs.neo4j.org/chunked/milestone/ha.html) concrete docs for the endpoint: http://docs.neo4j.org/chunked/milestone/ha-rest-info.html Se

Re: [Neo4j] neo4j slave instances are taking more time compare to master in HA environment(neo4j-enterprise-1.9.5)

2014-01-21 Thread Ramesh Yakkala
Hi Michael, May I know how to configure the master could take write operations and slave should to read operations. Thanks, Ramesh Yakkala. On Tuesday, January 21, 2014 4:38:23 PM UTC+5:30, Michael Hunger wrote: > > We don't recommend to run write transaction on the slaves just on the > master

Re: [Neo4j] neo4j slave instances are taking more time compare to master in HA environment(neo4j-enterprise-1.9.5)

2014-01-21 Thread Ramesh Yakkala
Hi Michael, May I know how to configure the master could take write operations and slave should to read operations. Thanks, Ramesh Yakkala. On Tue, Jan 21, 2014 at 4:38 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > We don't recommend to run write transaction on the slaves ju

Re: [Neo4j] Why the node counter jumps to 9736?

2014-01-21 Thread Sandeep Tiwari
Hi Michael , I tried using the property rebuild_id_generators_fast=false, But still the node count in the dashboard is not actual one. Also the next generated node id is not starting form last used id rather it is starting from the one shown in the Dashboard. On Wednesday, October 30, 2013 12:

Re: [Neo4j] neo4j slave instances are taking more time compare to master in HA environment(neo4j-enterprise-1.9.5)

2014-01-21 Thread Michael Hunger
We don't recommend to run write transaction on the slaves just on the master. As each transaction on the slave will grab a global cluster lock to sync the tx with the master and only after the master tx commits the slave tx also commits. Rather write on the master and use push_factor and pull_int

Re: [Neo4j] running a java HelloWorld

2014-01-21 Thread Nishant Sharma
Hi John, I am facing the same problem as you were facing.Can you please help me out with the solution. On Friday, 26 July 2013 19:19:14 UTC+5:30, John Smith wrote: > > I got it working, no need to skype. I compiled it into a jar file and > then ran it rather than running the .java file. I a

[Neo4j] Unmanged Extension TransactionEventHandler

2014-01-21 Thread david . bramer
Hi, I'm trying to create an unmanaged extension which puts a message on a queue when a node becomes interesting (e.g. a relationship of a new type is created) I believe I can do this with a TransactionEventHandler so I have created a class which extends KernelExtensionFactory which has a metho