How can i add a label for a node from one of the nodes properties ? I have a large CSV-file with a label in one column. With the LOAD CSV command its not possible to set a nodes label from a CSV-column value. Is there anoter way ?
相关问题
- Can I parameterize labels and properties on CREATE
- run neo4j with docker-compose - neo4j not accessib
- How to create multiple nodes with cypher in neo4j
- Order by relationship properties neo4j
- How can I specify which relationship type to use a
相关文章
- Neo4j DATE Data Types
- How can I get the number of nodes of a Neo4j graph
- What is the fully qualified path of the Neo4j data
- Neo4j in Azure mobile services
- NoClassDefFoundError when executing a Neo4j Cypher
- java.lang.ClassNotFoundException Every time I chan
- Spring data neo4j aspectJ setup error
- which graphDB will perform best for this specific
The APOC procedures Neo4j plugin contains some useful procedures for helping to refactor a graph (https://neo4j-contrib.github.io/neo4j-apoc-procedures/#_graph_refactorings)
For your needs, you can use the following procedure :
Here an example :
For installing APOC extension, download the .jar file regarding your Neo4j version, place it into /plugins folder in your Neo4j installation, then restarts Neo4j.