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.

Answer is incorrect at Graph Academy: Using Indexes and Query Best Practices in Neo4j 4.x

The answer of question#1 at Graph Academy: Using Indexes and Query Best Practices in Neo4j 4.x is incorrect.

The correct answer should be option #1 : CREATE INDEX PersonNameIndex FOR (p:Person) ON (p.name)

1 REPLY 1

Hello @negi.rohit and welcome to the Community!

The question is asking:

What Cypher code below will create a unique index on the name property of the Person node?

CREATE INDEX PersonNameIndex FOR (p:Person) ON (p.name)

Does not create a unique index.

Best regards,
Elaine Rosenberg

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online