File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed
modules/ROOT/pages/errors/gql-errors Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 66error: data exception - index does not exist. The index `{ <<idxDescrOrName>> }` does not exist.
77
88
9+ == Example scenario
10+
11+ For example, try to drop a non-existing index:
12+
13+ [source,cypher]
14+ ----
15+ DROP INDEX `nonExisting`
16+ ----
17+
18+ You will receive an error with GQLSTATUS xref:errors/gql-errors/50N10.adoc[50N10].
19+ This error has a cause with GQLSTATUS 22N69 and status description:
20+
21+ [source]
22+ ----
23+ error: data exception - index does not exist. The index 'nonExisting' does not exist.
24+ ----
25+
26+
927ifndef::backend-pdf[]
1028[discrete.glossary]
1129== Glossary
Original file line number Diff line number Diff line change 66error: data exception - duplicated index name. An index with the same name already exists: `{ <<idx>> }`.
77
88
9+ == Example scenario
10+
11+ For example, try to create an index when there is another existing index with that name:
12+
13+ Given:
14+ [source,cypher]
15+ ----
16+ CREATE INDEX `myIndex` FOR (n:Person) ON (n.name)
17+ ----
18+
19+ Then, when attempting to create:
20+ [source,cypher]
21+ ----
22+ CREATE INDEX `myIndex` FOR (n:Book) ON (n.title)
23+ ----
24+
25+ You will receive an error with GQLSTATUS 22N71 and status description:
26+
27+ [source]
28+ ----
29+ error: data exception - duplicated index name. An index with the same name already exists: `myIndex`
30+ ----
31+
32+
933ifndef::backend-pdf[]
1034[discrete.glossary]
1135== Glossary
You can’t perform that action at this time.
0 commit comments