Reputation: 912
i am going to insert 100M relationships on the 3M existing node using batchinserter in neo4j. but i have no idea how to make pointer to existing node as i have not their ID on the graph.as all exiting example on the web for batchinserter are for conditions that there is some references to the start and end nodes.
i tried to use IndexManager for finding start and end nodes but it only work on regular GraphDatabaseService instances not on batchinserter :(
IndexManager index = Inserter.index();
furthermore i have an index on the feature that i want to get nodes by it's value. thanks in advance for any tip.
Upvotes: 0
Views: 117
Reputation: 39926
BatchInserter API has support for indexes, see http://api.neo4j.org/2.0.1/org/neo4j/index/lucene/unsafe/batchinsert/LuceneBatchInserterIndexProvider.html.
Upvotes: 1