Load multiple graphml files into JanusGraph

113 Views Asked by At

I have 2 heavy graphml files (which is why I don't want to combine them if not absolutely necessary). Additionally, the nodes ids are coherent between the two files, and there is no reference to any node from the second file in the first one.

Would there be a way to load the first file into JanusGraph, and then load the second as an addition to the first? (If it needs a little reformatting, it is not an issue, I can process the files as I want.)

If it isn't possible that way, how can I load big amounts of data into JanusGraph?

1

There are 1 best solutions below

0
GregoirePelegrin On BEST ANSWER

It doesn't seem as though there is a way to load multiple graphml files into JanusGraph. This being said, one can use personalized groovy scripts to load data from csv, txt, ... files.
This is easier and allows to handle large amount of data, split into smaller files. (One way to proceed would be to do one file per type of node / type of relationship. This makes the process relatively easy)