ok I had missed the instruction to copy the db into graph.db and run neo4j from inside the bin folder… pretty confusing when there are so many things with the same names.
I was able to get it to work with a file that had commas in it (I used the wrong csv file by accident). Still can't figure out how to add relationships if I don't know what they are already?
And when I try to go back and run the import script again with a tab-delimited "csv" file, I get a java error again?
~/Desktop/neo4j-community-2.0.1/batch_importer_20$ ./import.sh test.db spaced_joined.csv
Usage: Importer data/dir nodes.csv relationships.csv [node_index node-index-name fulltext|exact nodes_index.csv rel_index rel-index-name fulltext|exact rels_index.csv ....]
Using: Importer batch.properties test.db spaced_joined.csv rels.csv
Writing Configuration File to batch.properties
Total import time: 1 seconds
Exception in thread "main" java.lang.IllegalArgumentException: Unknown Type 0
at org.neo4j.batchimport.importer.Type.fromString(Type.java:172)
at org.neo4j.batchimport.importer.AbstractLineData.createHeaders(AbstractLineData.java:46)
at org.neo4j.batchimport.importer.CsvLineData.<init>(CsvLineData.java:16)
at org.neo4j.batchimport.Importer.createLineData(Importer.java:173)
at org.neo4j.batchimport.Importer.importNodes(Importer.java:93)
at org.neo4j.batchimport.Importer.doImport(Importer.java:228)
at org.neo4j.batchimport.Importer.main(Importer.java:83)
In spite of this error and no message about nodes imported, I get a folder full of files. But when I look at it, there's no data.