cancel
Showing results for 
Search instead for 
Did you mean: 

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

negi_rohit
Node

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