Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

multiple node filenames? #87

Open
ladydemona opened this issue Feb 12, 2014 · 4 comments
Open

multiple node filenames? #87

ladydemona opened this issue Feb 12, 2014 · 4 comments

Comments

@ladydemona
Copy link

is there a binary build of this that has the importing of multiple nodes files (i.e filenames concatenated without spaces) that works? I've been trying it but it seems to only import the first node file.

@cescalante-carecloud
Copy link

so doing something like this doesn't work for you?
nodefile1.csv,nodefile2.csv,nodefile3.csv relsfile1.csv,reslfile2.csv

What happens when you have one node file and one relationship file?
nodefile1.csv relfile1.csv

@ladydemona
Copy link
Author

That's correct, it appeared to only import only the first csv that was listed-- I also tried both in the properties file and command line. It imports fine with just 1 :)

On Feb 12, 2014, at 2:34 PM, cescalante-carecloud [email protected] wrote:

so doing something like this doesn't work for you?
nodefile1.csv,nodefile2.csv,nodefile3.csv relsfile1.csv,reslfile2.csv

What happens when you have one node file and one relationship file?
nodefile1.csv relfile1.csv


Reply to this email directly or view it on GitHub.

@cescalante-carecloud
Copy link

can you paste your import.sh file (so i can try to recreate).
Was this working for you before? I just ran into a mystery issue today that I am not yet sure how to replicate.

@ladydemona
Copy link
Author

HEAP=4G
DB=${1-target/graph.db}
shift
shift
NODES=${1-nodes.csv}
shift
RELS=${1-rels.csv}
CP=""
for i in lib/*.jar; do CP="$CP":"$i"; done
#echo java -classpath $CP -Xmx$HEAP -Xms$HEAP -Dfile.encoding=UTF-8
org.neo4j.batchimport.Importer batch.properties "$DB" "$NODES" "$RELS" "$@"
java -classpath $CP -Xmx$HEAP -Xms$HEAP -Dfile.encoding=UTF-8
org.neo4j.batchimport.Importer batch.properties "$DB" "$NODES" "$RELS" "$@"

On Wed, Feb 12, 2014 at 3:21 PM, cescalante-carecloud <
[email protected]> wrote:

can you paste your import.sh file

Reply to this email directly or view it on GitHubhttps://github.com//issues/87#issuecomment-34912922
.

-C

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants