Skip to content

Support for Cypher CREATE INDEX #3763

Closed
Closed

Description

@lvca

After a quick research, I can confirm, this is part of OpenCypher v25 we already parse:

CREATE INDEX name IF NOT EXISTS FOR (n:Label) ON (n.prop)

I'm going to implement this in a new issue.

Originally posted by @lvca in #3760

Activity

  1. self-assigned this
    on Apr 1, 2026
  2. added this to the 26.4.1 milestone on Apr 1, 2026
  3. added theissue type on Apr 1, 2026
  4. lvca commented on Apr 1, 2026

    @lvca
    MemberAuthor

    That was easier that I thought, already in the latest snapshot (main branch).

  5. Orkie commented on Apr 2, 2026

    @Orkie

    Ah, sorry - I saw CREATE CONSTRAINT explicitly mentioned in the documentation, but not CREATE INDEX so presumed it wasn't supported! Have just tested on the latest code from main and it does indeed seem to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions