Re: [Neo4j] Import problems

2015-04-03 Thread Andreas Dernbauer
I am stupid Thank you very much Am Samstag, 4. April 2015 01:10:08 UTC+2 schrieb Michael Hunger: > > You forgot WITH HEADERS > > so you get arrays > > LOAD CSV WITH HEADERS FROM 'file:d:/tmp/aifElement.txt' as row > FIELDTERMINATOR ';' CREATE(:aifElement { ElememtID: > toInt(row.aifElememtID),

[Neo4j] neo4j-import and node_auto_indexing

2015-04-03 Thread Jean Reptile
Hello, For a project, I need to import 5 million nodes and 15 millions relations. I tried to import by batch but it was very slow, so I used the new tool 'Neo4j-import' from Neo4j 2.2. We generate some specifics .csv and use the 'neo4j-import'. It is very fast, the whole database is created in 1

[Neo4j] Just wanted to share a book review on Neo4J from Packt - it is a very inspiring and engaging book

2015-04-03 Thread Arthur Zubarev
I must admit, I knew very little about Neo4J until I read an excellent book from Packt written by one of the Neo4J insiders Rik Van Bruggen. I published my review

[Neo4j] Re: Getting UnsupportedOperationException: No query engine installed in Neo4j 2.2.0 M2

2015-04-03 Thread Rob Dickens
In case you happen to have introduced a dependency on Scala 2.11.x, try changing it to 2.10.x (2.10.5 is currently the latest version) - that worked for me. It turns out[1] Cypher depends on Scala. Many thanks to the contributors here[2], btw. 1 https://github.com/neo4j/neo4j/search?utf8=✓&q=s

Re: [Neo4j] Policy mapping? How's it work? (SDN and Neo4J).

2015-04-03 Thread Michael Hunger
In the end getMappingPolicy just calls mappingContext.getPersistentEntity() which should fail if the entity is not known. you actually should never call that method directly. can you use template.project(entity, type) instead? Michael > Am 30.03.2015 um 22:37 schrieb Dr Josef Karthauser > : >

Re: [Neo4j] Neo4j Spatial for Neo4j 2.2.0

2015-04-03 Thread Axel Morgner
Just deployed some versions now. Am 03.04.2015 um 14:55 schrieb Rita: > OK, thank Axel! > > Rita > > Il giorno venerdì 3 aprile 2015 13:59:43 UTC+2, Axel ha scritto: > > There's no release of Neo4j spatial for Neo4j 2.2.0 GA yet. > > I'll try to create one today. Please check the commits i

Re: [Neo4j] Import problems

2015-04-03 Thread Michael Hunger
You forgot WITH HEADERS so you get arrays > LOAD CSV WITH HEADERS FROM 'file:d:/tmp/aifElement.txt' as row > FIELDTERMINATOR ';' CREATE(:aifElement { ElememtID: toInt(row.aifElememtID), > sysID: toInt(row.aifSysID), StructID: toInt(row.aifStructID), ElementName: > row.aifElementName}); > Am

[Neo4j] Import problems

2015-04-03 Thread Andreas Dernbauer
Can anyone explain me what is wrong System is Windows Error Msg = Type mismatch: expected Map, Node or Relationship but was Collection (line 1, column 109) Command: LOAD CSV FROM 'file:d:/tmp/aifElement.txt' as row FIELDTERMINATOR ';' CREATE(:aifElement { ElememtID: toInt(row.aifElememtID)

Re: [Neo4j] Neo4j Spatial for Neo4j 2.2.0

2015-04-03 Thread Rita
OK, thank Axel! Rita Il giorno venerdì 3 aprile 2015 13:59:43 UTC+2, Axel ha scritto: > > There's no release of Neo4j spatial for Neo4j 2.2.0 GA yet. > > I'll try to create one today. Please check the commits in the contrib > maven repo for updates: https://github.com/neo4j-contrib/m2/commits/m

Re: [Neo4j] Neo4j Spatial for Neo4j 2.2.0

2015-04-03 Thread Axel Morgner
There's no release of Neo4j spatial for Neo4j 2.2.0 GA yet. I'll try to create one today. Please check the commits in the contrib maven repo for updates: https://github.com/neo4j-contrib/m2/commits/master -Axel. Am 03.04.2015 um 13:50 schrieb Rita: > Many thanks Craig. I've just converted my Ne

Re: [Neo4j] Neo4j Spatial for Neo4j 2.2.0

2015-04-03 Thread Rita
Many thanks Craig. I've just converted my Neo4j 1.9.9 graph without spatial index to Neo4j 2.2.0. Over this I try to create the spatial index with Neo4j 0.14 but I get the error No query engine installed. at org.neo4j.kernel.impl.query.NoQueryEngine.noQueryEngine( NoQueryEngine .java:5

Re: [Neo4j] Neo4j Spatial for Neo4j 2.2.0

2015-04-03 Thread Craig Taverner
The data structure used by spatial has changed since 1.9, and so the best option here is to re-create (re-import) your spatial data. The neo4j database upgrade process does not upgrade the spatial structures themselves, unfortunately. On Fri, Apr 3, 2015 at 10:05 AM, Rita wrote: > Hi all, > I am

[Neo4j] Neo4j Spatial for Neo4j 2.2.0

2015-04-03 Thread Rita
Hi all, I am passing from Neo4j 1.9.9 to Neo4j 2.2.0. On my 1.9.9 version I have spatial indexes created and used by Neo4j Spatial 0.11. Now which version of Neo4j I have to use? I've found Neo4j Spatial 0.14 for Neo4j 2.2.0-M02 but when I try to open indexes I get the error "No query engine ins