Reputation: 233
What happens if you replay a CREATE INDEX ON command on a Neo4J database that already has this index. Does Neo4J simply ignore that command?
Upvotes: 0
Views: 570
Reputation: 7478
The first time you will execute it, Neo4j will :
At the second attempt, you will have :
Cheers
Upvotes: 1
Reputation: 1
the 2nd invocation of the create index will run, produce no error, but also not report the index alredy exists and in the end you will still only have 1 index
Upvotes: 0