It's an idempotent operation. If the index already exists, nothing will happen.
Neo4j indexes your data in the background, you see the index state when you run the :schema command in the browser. Michael > Am 19.05.2015 um 10:39 schrieb Richard Habermann > <[email protected]>: > > Hey, > > as I was about to create a script which should keep my indexed properties up > to date. Because we run several servers in our company for develop, staging > and live we might need to rerun the script if we don't want to check the > existing :schema and calculate the differences. Now the question came up if > this has any implications if I call a CREATE INDEX ON ... if that index > already exists exactly like that or if the procedures that will follow would > just be skipped!? I guess when I initially create that index Neo4J will go > over all my Data that uses the given label and write the index. If I could, I > would like to skip that if I have to run the script again. Hope that makes > sense. > > Thank you. > > -- > 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] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/d/optout.
