Reputation: 4954
I am using load2neo for batch importing geoff format text files into neo4j.
I have followed the instructions on the load2neo site, which include dropping two jar files into the neo4j server's plugin directory, and updating the server configuration file with an extra line.
When I try to load the file using curl, then nothing happens. It doesn't issue an error and just gives me a new line in the terminal.
I am wondering if there is something I'm doing wrong? Any help or pointers would be appreciated.
Upvotes: 1
Views: 160
Reputation: 4954
For the sake of others trying the same thing:
I made the mistake of thinking that I had to include the CREATE statements in the geoff formatted file. These are not required, in other words, for a node:
(a:Label{"prop":"someProp"})
or for a relationship:
(a)-[:REL]-(b)
No need for stating CREATE, MERGE, etc.
Note that uniqueness is supported with the use of the bang symbol, per the load2neo and geoff docs.
Upvotes: 1