Re: [Neo4j] Re: Problem connecting to remote Neo4J using Java

2014-09-25 Thread Craig Taverner
All remote access to Neo4j should be done through REST. The documents I mentioned before show this. Look at http://docs.neo4j.org/chunked/stable/server-java-rest-client-example.html. There are code examples for you there too. However, there are easier libraries that can make working with Neo4j muc

[Neo4j] Re: Problem connecting to remote Neo4J using Java

2014-09-25 Thread Mohana Krishna, IIT Bombay, India
Craig, Please reply. On Thursday, 25 September 2014 07:16:56 UTC+5:30, Mohana Krishna, IIT Bombay, India wrote: > > I am trying to connect to remote neo4j server and perform some cypher > queries on it. I am using the reference example: > https://github.com/neo4j/neo4j/blob/2.1.4/community/cyph

[Neo4j] Re: Problem connecting to remote Neo4J using Java

2014-09-25 Thread Mohana Krishna, IIT Bombay, India
I want to run CYPHER queries on remote neo4j server using java much like the way we do for SQL using java and use results for computations. I need to connect to remote neo4j, perform cypher queries, get results much like 'result set' in sql-java. Do that need to be done through REST? Am I missi

Re: [Neo4j] Cypher Internals

2014-09-25 Thread Craig Taverner
And conceptually it is important to remember that cypher is declarative and java imperative. This means that cypher describes what you want, not how to get it, and the query planner needs to decide on the best imperative algorithm to achieve the goal. In practice this means there could be many poss

Re: [Neo4j] Problem connecting to remote Neo4J using Java

2014-09-25 Thread Craig Taverner
Mohana, You are looking at code for the embedded API (ie. a database running inside the same java process), but you said you want to access a remote database. This is a completely different thing. Do not use that code at all. Rather look at the docs at http://docs.neo4j.org/chunked/stable/server-j

Re: [Neo4j] Can't change the database location in Mac

2014-09-25 Thread Michael Hunger
How did you install Neo4j ? Via the zip-file or via homebrew or both? Looks like the latter. Then check here for the correct config file: /usr/local/Cellar/neo4j/2.1.2/ libexec/conf/neo4j-server.properties On Mon, Sep 22, 2014 at 4:20 PM, Omar Yaacoubi wrote: > Hi Guys, > > I need a little hel

[Neo4j] Can't change the database location in Mac

2014-09-25 Thread Omar Yaacoubi
Hi Guys, I need a little help. I can't change the location of the database for neo4j on my mac : I modified the "neo4j-server.properties" to "org.neo4j.server.database.location=data/Dabab_Final1.db" and restarted the server several times but I still have on http://localhost:7474/browser/ :

[Neo4j] Choosing master in a cluster when cluster breaks

2014-09-25 Thread Surinder Panwar
We have two nodes (n1, n2) in one machine (M1) and four nodes (n3, n4, n5, n6) in another machine (M2). Master is present on M1. We break LAN connectivity for M1. n1 is master and rest all nodes are slave. We faced two issues here: Issue 1: Master was not chosen from nodes on M2. Issue 2: We wer

Re: [Neo4j] Computing Normal of a cell using Neo4j Spatial

2014-09-25 Thread Craig Taverner
OK, I understand. That requires an extra dimension, so we'd need to support 3D in order to create the perpendicular vector off the 2D plane. This is not currently supported. You could perhaps calculate perpendicular vectors off LineString in the 2D plane, but not off surfaces. On Wed, Sep 24, 2014