[Neo4j] Re: How to set slave to read only in a cluster?

2015-04-17 Thread Sumit Gupta
I remember that with 2.1.5 and it respects read_only attribute for slaves too. Though i haven't tried but in a cluster LOAD_CSV should also redirect all of its writes to Master Node unless you are connecting neo4jshell with "--path" attributes. Let me know your Neo4j version and I can check it

Re: [Neo4j] With clause not working as expected

2015-04-17 Thread Michael Hunger
Hi Michael, works for me with Neo4j 2.2 http://console.neo4j.org/?id=xy4fkl Which version are you using? Cheers, Michael > Am 17.04.2015 um 22:03 schrieb Michael Dougherty : > > Im very confused with what's going wronghere's my database > > CREATE (q

[Neo4j] With clause not working as expected

2015-04-17 Thread Michael Dougherty
Im very confused with what's going wronghere's my database CREATE (queen:Gliese { name : 'Queen'}),(eva:Human { name : 'Eva'}),(lisha:Human { name : 'Lisha'}),(queen)<-[:ENEMY_OF]-(eva),(queen)<-[:FRIEND_OF]-(eva),(queen)<-[:FRIEND_OF]-(lisha),(queen)<-[:ENEMY_OF]-(lisha),(lisha)-[:KILLED]->

[Neo4j] Re: How to set slave to read only in a cluster?

2015-04-17 Thread cui r
Thanks. Actually, the slaves are not read-only for LOAD CSV. Somehow load csv slipped through into slaves by one of our developers. And the change are not populated to all nodes, the first read returns 53 nodes, and the second read returns 29 nodes. read_only=true set all nodes, including mast

Re: [Neo4j] from Neo4j1.9.9 to Neo4j 2.2.0 exception querying Lucene

2015-04-17 Thread Rita
I am very sorry to point out that those Lucene queries actually have a changeable behaviour, usually they are slower than the past, and in most case I get that error again (using 6GB heap of 8GB total RAM). I am updating the graph with delete and update of nodes and relationships. I decreased

[Neo4j] Re: Optimistic locking with advanced mapping

2015-04-17 Thread Stéphane Schild
Hi, Does anyone have a response on this topic? I have exactly the same problem and need clarifications to be able to make a choice between Neo4J and others databases. Thank you very much ! Stéphane Schild Le mercredi 25 février 2015 08:51:17 UTC+1, Denis Moret a écrit : > > Hi, > > Regarding

[Neo4j] Neo4j Essentials - Leverage the power of Neo4j to design, implement, and deliver top-notch projects

2015-04-17 Thread Sumit Gupta
neo4j.com/books/neo4j-essentials/ If you are an application developer or software architect who wants to dive into the Cypher language and learn the concepts of graph theory and graph-based data models, this is the book for you. Thanks, Sumit -- You received this message because you are subsc

[Neo4j] Re: How to set slave to read only in a cluster?

2015-04-17 Thread Sumit Gupta
Set this in your neo4j.properties "read_only=true" But logically your slaves are always read-only in cluster Mode "for the clients/ end users". Though they can accept write request but they re-direct those request to Master Node. All Write transactions are Handled by Master only and then data

[Neo4j] Re: Neo4j Server Ready & Running Status Code??

2015-04-17 Thread Sumit Gupta
I think you need to test 2 things: - 1. Check the Neo4j process (Java Process) itself, so that you know it is up or not 2. Check whether the database is ready to serve the request and responding within SLA (if any) For the #1 you can use any standard Enterprise tools like Nagios/ Ganglia And fo