Fwd: [Neo4j] Neo4j 2.1.5: Getting transaction error when adding a property to a Node in TransactionEventHandler.beforeCommit()

2014-10-06 Thread Michael Hunger
Brian, I asked our engineers to look into it. Will get back to you when resolved. Cheers, Michael -- Forwarded message -- From: brian Date: Mon, Oct 6, 2014 at 11:04 PM Subject: [Neo4j] Neo4j 2.1.5: Getting transaction error when adding a property to a Node in TransactionEventHand

[Neo4j] Neo4j 2.1.5: Getting transaction error when adding a property to a Node in TransactionEventHandler.beforeCommit()

2014-10-06 Thread brian
Environment: - Neo4j 2.1.5 - OS/X 10.9.2 - Oracle JDK 1.7.0_51 I've implemented a TransactionEventHandler in which the beforeCommit() method sets a property on nodes that are being created in this transaction. I'm seeing the following exception returned from Node.setProperty(): java.

[Neo4j] Re: System Requirements

2014-10-06 Thread Adam Hunt
In the interest of completeness I had intended to include a citation comparing Intel's i3 and i7 processors but I forgot. So, here's that link: http://ark.intel.com/compare/82930,76294 On Monday, October 6, 2014 1:23:47 PM UTC-7, Adam Hunt wrote: > > After reading the System Requirements >

[Neo4j] System Requirements

2014-10-06 Thread Adam Hunt
After reading the System Requirements section in the Neo4j manual I have to say that I'm left left feeling a little unsatisfied. It states that an Intel i3 is the minimum recommended processor while an I7 is recommended. Tha

[Neo4j] Neo4j 2.1.5: Error trying to set a property on a Node in a TransactionEventHandler

2014-10-06 Thread brian
Environment: - Neo4j 2.1.5 - OS/X 10.9.2 - Oracle JDK 1.7.0_51 I've implemented a TransactionEventHandler in which the beforeCommit() method sets a property on nodes that are being created in this transaction. I'm seeing the following exception returned from Node.setProperty(): java.

Re: [Neo4j] Neo4j Query Optimization - 15 diff labels

2014-10-06 Thread Michael Hunger
Do you have indexes on the :Label(prop) combos you use for your lookups? Eg Create index on :Incidents(incident_number); Von meinem iPhone gesendet > Am 06.10.2014 um 18:55 schrieb Ajinkya Deshpande : > > So I have 15 different Labels in Neo4j which represent 15 real world business > Object

Re: [Neo4j] Re: using 'distinct' on more than one node type

2014-10-06 Thread Michael Hunger
Either for triples With distinct a,b,c Return count(*) Or across all Unwind [a,b,c] as n Return count(distinct n) Von meinem iPhone gesendet > Am 06.10.2014 um 11:40 schrieb Mohana Krishna, IIT Bombay, India > : > > I am facing this problem as I am using 'distinct' in conjunction with > 'co

[Neo4j] Neo4j Query Optimization - 15 diff labels

2014-10-06 Thread Ajinkya Deshpande
So I have 15 different Labels in Neo4j which represent 15 real world business Objects. All these Objects are related to each other. Each Object (Label) has thousands of nodes . What I'm trying to do is to do optional Matches between all these Labels and get the Related data. The query is runn

[Neo4j] Re: using 'distinct' on more than one node type

2014-10-06 Thread Mohana Krishna, IIT Bombay, India
I am facing this problem as I am using 'distinct' in conjunction with 'count'. somebody please help. Thanks. On Monday, 6 October 2014 15:03:11 UTC+5:30, Mohana Krishna, IIT Bombay, India wrote: > > I want to use 'distinct' on >1 columns. Here is an example query > > match (a:A)-[r1]->(b:B), (a)

[Neo4j] Re: Query taking so long and not giving result

2014-10-06 Thread Mohana Krishna, IIT Bombay, India
Thanks a lot, Michael. On Friday, 3 October 2014 19:00:34 UTC+5:30, Mohana Krishna, IIT Bombay, India wrote: > > I have issued a following query as part of my application: > > > MATCH > > (k{type:"ASSAULT"})-[r1:CLOSE_TO]->( l {type:"BATTERY"}), > > (k{type:"ASSAULT"})-[r2:CLOSE_TO]->(m{type:"TH

[Neo4j] using 'distinct' on more than one node type

2014-10-06 Thread Mohana Krishna, IIT Bombay, India
I want to use 'distinct' on >1 columns. Here is an example query match (a:A)-[r1]->(b:B), (a)-[r2]->(c:C), (a)-[r3]->(d:D), (b)-[r4]->(c), (b)-[r5]->(d), (c)-[r6]->(d) return count(distinct a,b,c); It says syntax is wrong for distinct. How can I accomplish my task? I guess there will be support