GrandMel
GrandMel

Reputation: 235

How can I drop all indexes at once using Cypher in Memgraph?

Is there a way to do something like DROP INDEX ON * that would delete all indexes?

If I have a larger number of indexes it can take some time to delete them one by one. Is there some query that can loop through exiting indexes and delete them?

Upvotes: 0

Views: 290

Answers (1)

KWriter
KWriter

Reputation: 1180

You can't do this by simply using Cypher at the moment. There is a GitHub issue in the Memgraph repository for this feature.

Upvotes: 1

Related Questions