cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to add multiple labels to nodes when using Neo4j Data Importer?

Current version (Version 0.1.1-beta)
3X_7_1_71a9ef3219ce06cf012450d709b3a432d017caa0.png

There's no current documentation about adding multiple labels.
How can multiple labels be added in Neo4j Data Importer?

1 ACCEPTED SOLUTION

Hello @coltontoscher and welcome to the Neo4j Community!

If you want multiple labels to a node, you must set them manually after the load. For example:

MATCH (p:Person)-[:ACTED_IN]->()
WITH DISTINCT p
SET p:Actor

This is covered in the course: Importing CSV Data into Neo4j | Free Neo4j Courses from GraphAcademy

Elaine

View solution in original post

2 REPLIES 2

Hello @coltontoscher and welcome to the Neo4j Community!

If you want multiple labels to a node, you must set them manually after the load. For example:

MATCH (p:Person)-[:ACTED_IN]->()
WITH DISTINCT p
SET p:Actor

This is covered in the course: Importing CSV Data into Neo4j | Free Neo4j Courses from GraphAcademy

Elaine

can you do the same in admin import?