DROP INDEX

Generic Description

Drop a named index.

Simple example:

DROP INDEX idx_person_name

Consumer-Level Explanation

Use DROP INDEX when the query must drop a named index and the planner needs to see that operation as part of the Cypher row pipeline. Keep the clause explicit because it controls row grain, variable scope, and what later clauses are allowed to reference.

More Detailed Explanation

DROP INDEX is usually a cleanup or migration step. It matters when an index no longer reflects real workload value or when a schema/index strategy is being reworked.

What this clause is really for:

Advanced Example

This example keeps DROP INDEX inside a complete query pipeline so the clause boundary, visible variables, and returned row shape are clear to planner tooling.

SHOW INDEXES

Real Use Cases

Real Limitations And Tradeoffs