If I use the following command:

CREATE INDEX ON :Player(name)

or

CREATE CONSTRAINT ON pl:Player
ASSERT pl.name IS UNIQUE

and the index or constraint already exists, does it hurt to issue the
command twice?

Also, does creating a constraint implicitly create an index?

Copied from the excellent slides at
http://www.slideshare.net/markhneedham/optimizing-cypher (page 12)

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to