Skip to content

Commit 31c7758

Browse files
[DOC-10029] Update valid characters for GSI index names (#644)
1 parent d49b45f commit 31c7758

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/n1ql/pages/n1ql-language-reference/createindex.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ image::n1ql-language-reference/create-index.png["Syntax diagram: see source code
8989
[horizontal#index-name, reftext="index-name"]
9090
index-name:: (Required) A unique name that identifies the index.
9191
+
92-
Valid GSI index names can contain any of the following characters: `A-Z` `a-z` `0-9` `#` `_`, and must start with a letter, [`A-Z` `a-z`].
92+
Valid GSI index names can contain any of the following characters: `A-Z` `a-z` `0-9` `#` `_`, `-`, and must start with a letter, [`A-Z` `a-z`].
9393
The minimum length of an index name is 1 character and there is no maximum length set for an index name.
94-
When querying, if the index name contains a `#` or `_` character, you must enclose the index name within backticks.
94+
When querying, if the index name contains a `#` or `-` character, you must enclose the index name within backticks.
9595

9696
keyspace-ref:: (Required) Specifies the keyspace where the index is created.
9797
See <<keyspace-ref>>.

0 commit comments

Comments
 (0)