Database Reference
In-Depth Information
Neo4j-shell-tools result
The generated graph will then immediately be accessible in the Neo4j browser.
The result, of course, will be identical to the graph shown previously
The Neo4j-shell-tools are much more powerful than what we have highlighted in
these few paragraphs. It allows for different delimiters, quoted values, and variable
batchsizestotweaktheperformanceoftheimport.Italsosupportsotherileformats
such as the GEOFF and GraphML formats and supports exporting to many of these
formats as well. So all in all, it is a very potential tool that can probably scale for
importing millions of nodes and relationships—but not for billions. We will address
this use case a bit later.
Now,wewillinishthissectionbytreatingaverynewmethodology—LoadCSV.
Importing using Load CSV
During the course of 2013, Neo Technology saw a very steep ramp in adoption for
Neo4j and started getting a lot more user feedback. One of the most prominent
pieces of consistent feedback was that Neo4j needed to improve its native import
capabilities, and this is why this feature was added as a capability as part of the 2.1
release of Neo4j.
The importworklowissimilartothatofNeo4j-shell-tools,buthasthe
following exceptions:
• It is embedded into cypher.
• The .csv ilescanbeloadedfromanywhere;itjustneedsaURI.
 
Search WWH ::




Custom Search