Closed Tonkonozhenko closed 10 years ago
Are they tab or space separated?
Can you try one with only ascii names to see if that's a characterset issue?
They are tab separated. It's impossible to make them in ascii because it's list of pages of russian Wikipedia. I'm running it in virtual machine. Maybe can it be just working slowly?
Works for me with these files:
id title
7 Литва
9 Россия
10 Слоновые
start end type
0 1 links
1 2 links
2 0 links
start and end in the relationship-file refer to the row numbers of the nodes-file.
If you want to use your external id, either use id:id (and start:id, end:id) as type or use an index, see readme.
sh import.sh rus.db rus/nodes.csv rus/rels.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 rus.db rus/nodes.csv rus/rels.csv
Using Existing Configuration File
Importing 3 Nodes took 0 seconds
Importing 3 Relationships took 0 seconds
Total import time: 1 seconds
I tested with some rows as you said. It proceeded. Now I'm testing with bigger amount of data. Thank you very much.
Hello! I have problems with import. All I receive is
Here's my files: nodes.csv
rels.csv
batch.properties