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)
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)
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