Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion modules/ROOT/pages/errors/gql-errors/22N69.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
:page-role: changed-2025.07

= 22N69

== Status description
error: data exception - index does not exist. The index specified by `{ <<idxDescrOrName>> }` does not exist.
error: data exception - index does not exist. The index `{ <<idxDescrOrName>> }` does not exist.


== Example scenario

For example, try to drop a non-existing index:

[source,cypher]
----
DROP INDEX `nonExisting`
----

You will receive an error with GQLSTATUS xref:errors/gql-errors/50N10.adoc[50N10].
This error has a cause with GQLSTATUS 22N69 and status description:

[source]
----
error: data exception - index does not exist. The index 'nonExisting' does not exist.
----


ifndef::backend-pdf[]
Expand Down
28 changes: 27 additions & 1 deletion modules/ROOT/pages/errors/gql-errors/22N71.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,33 @@
:page-role: changed-2025.07

= 22N71

== Status description
error: data exception - index with the same name already exists. An index with the same name already exists: `{ <<idx>> }`.
error: data exception - duplicated index name. An index with the same name already exists: `{ <<idx>> }`.


== Example scenario

For example, try to create an index when there is another existing index with that name:

Given:
[source,cypher]
----
CREATE INDEX `myIndex` FOR (n:Person) ON (n.name)
----

Then, when attempting to create:
[source,cypher]
----
CREATE INDEX `myIndex` FOR (n:Book) ON (n.title)
----

You will receive an error with GQLSTATUS 22N71 and status description:

[source]
----
error: data exception - duplicated index name. An index with the same name already exists: `myIndex`
----


ifndef::backend-pdf[]
Expand Down
6 changes: 4 additions & 2 deletions modules/ROOT/pages/errors/gql-errors/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -414,17 +414,19 @@ Status description:: error: data exception - duplicated constraint name. A const

Status description:: error: data exception - dependent constraint managed individually. Dependent constraints cannot be managed individually and must be managed together with its graph type.

[role=label--changed-2025.07]
=== xref:errors/gql-errors/22N69.adoc[22N69]

Status description:: error: data exception - index does not exist. The index specified by `{ <<idxDescrOrName>> }` does not exist.
Status description:: error: data exception - index does not exist. The index `{ <<idxDescrOrName>> }` does not exist.

=== xref:errors/gql-errors/22N70.adoc[22N70]

Status description:: error: data exception - equivalent index already exists. An equivalent index already exists: `{ <<idxDescrOrName>> }`.

[role=label--changed-2025.07]
=== xref:errors/gql-errors/22N71.adoc[22N71]

Status description:: error: data exception - index with the same name already exists. An index with the same name already exists: `{ <<idx>> }`.
Status description:: error: data exception - duplicated index name. An index with the same name already exists: `{ <<idx>> }`.

=== xref:errors/gql-errors/22N73.adoc[22N73]

Expand Down