Re: [Neo4j] Neo4j Spatial dependencies NoClassDefFoundError

2014-08-18 Thread Peter Neubauer
Sumit, Are you using maven? In that case what does mvn dependency:tree Look like? /peter (snt)-[:frm]->(phn) On Aug 19, 2014 6:59 AM, "Sumit Shah" wrote: > Hi, > > I am new to Neo4j Spatial and trying to play with it. I have built neo4j > spatial by cloning the git repo and running 'mvn clean

[Neo4j] Ubuntu 14.04 warnings upon start of service

2014-08-18 Thread Daniel Wertheim
After install, the service and all is running under the neo4j user, but when restarting the service there are two warnings being promted. The first one: "*Warning: Max 1024 open files*"; has various suggestions on Stackoverflow and the manual

[Neo4j] Neo4j Spatial dependencies NoClassDefFoundError

2014-08-18 Thread Sumit Shah
Hi, I am new to Neo4j Spatial and trying to play with it. I have built neo4j spatial by cloning the git repo and running 'mvn clean install'. In my Java project I am pointing to this built jar and I am trying to import Washington DC's OSM file using the code below: OSMImporter importer = new O

[Neo4j] Tricky? traversal evaluator

2014-08-18 Thread Oscar Niemi
Hi! Imagine a city with bus stops, subway stops and train stops. Is it possible to write a traversal question, or more specific I guess an evaluator that follow a specific pattern. For an example lets say I want to first go with bus(1 or more stops), then train(1 or more stops), then bus again(

[Neo4j] Can index be used for comparing size of values?

2014-08-18 Thread Frandro
Let's assume there's a property named age. Create an index on the property for fast retrieval. MATCH (user:User) where user.age=30 return user That should work. But I'd like to use comparison like this. MATCH (user:User) where user.age > 30 return user Is that supposed to work? It does not see

[Neo4j] Re: Questions on NEO4J version 2.1.3 for Windows

2014-08-18 Thread Rodger
As well, I'm looking more at the 2.1.3 docs: http://neo4j.com/docs/2.1.3/server-installation/#windows-install With administrative rights, Neo4j can be installed as a Windows service. Click Start → All Programs → Accessories. Right click Command Prompt → Run as Administrator. Provide author

Re: [Neo4j] batch import 2.0 > avoiding duplicate relationships?

2014-08-18 Thread gg4u
hello, someone could tell me which file /where to modify batch importer so that to create relationships like: Merge (a)-[:REL]-(b) On create set r.weight = 123 ? thank you! Il giorno sabato 16 agosto 2014 16:34:52 UTC+2, gg4u ha scritto: > > Hi Mattias, > > I see. > So how the relationships a

[Neo4j] Execution Guard

2014-08-18 Thread Clark Richey
We are running neo 2.04 Enterprise embedded. I was looking for a way to limit query times and found the execution guard information here..http://grokbase.com/t/gg/neo4j/132tqdcmvg/execution-guard-configuration-for-embedded-dbhttps://github.com/neo4j-contrib/rabbithole/blob/master/src/main/java/or

[Neo4j] Questions on NEO4J version 2.1.3 for Windows

2014-08-18 Thread Rodger
Dear Experts, Normally, I've used the Linux versions of NEO4J. Although, lately I installed Community version 2.1.3 on my Windows laptop and I'm having some trouble. And finding, there are a few differences in the usage and navigation from the Linux versions. Some questions on 2.1.3 for

[Neo4j] Re: "Unknown Error" using "withinDistance"

2014-08-18 Thread Mohana Krishna
So in first option, Do I need to alter lat-lon values manually? As you said dynamically supplying values is not possible in query, I guess even writing code to replace lat-lon each time won't work. Please enlighten. Thanks for references regarding 2nd option. I will go through them and get back

Re: [Neo4j] Re: "Unknown Error" using "withinDistance"

2014-08-18 Thread Craig Taverner
Hi Mohana, Your understanding of point 1 is correct. You application code would need to create new queries for every start node, replacing the lat/lon part for each start node. The edges in my query were created from the start node to the found node. However, since you consider all nodes, you will

Re: [Neo4j] Neo4j server not starting after replacing graph.db with a new one (with same name)

2014-08-18 Thread david fauth
Maria, Mohana, You can download the Twitter-Heroku example dataset for neo4j 2.1.3 here: http://neo4j-examples.s3.amazonaws.com/twitter-connections/neo4j_213/graph.db.zip Once you unzip the file, copy the graph.db directory into your data directory. The Neo4j server should start then. Dave On

[Neo4j] Re: "Unknown Error" using "withinDistance"

2014-08-18 Thread Mohana Krishna
I have few questions: 1) Regarding first option a) Do you mean to loop in REST API code? b) Do I have to manually replace lat lon with each of the nodes values and case number (as you have written in query) for every node? (as you said iterate over all nodes and since dynamic query writi

Re: [Neo4j] Re: "Unknown Error" using "withinDistance"

2014-08-18 Thread Craig Taverner
Hi Mohana, That Java API is capable of that, but not currently the REST API. At this point the REST API is making use primarily of the IndexProvider interface which defines a way to find nodes based on some criteria. In this case it lists nodes based on the distance search from a single point. The