Skip to content

Commit f79398b

Browse files
authored
16,383 is the max length of tokens in characters (#1902)
1 parent 88891d2 commit f79398b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

modules/ROOT/pages/database-internals/store-formats.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Block format means a few pages need to be loaded to serve a query, i.e. fewer pa
2424
* *Property access:* Properties are stored in blocks with their nodes and relationships drastically reducing the amount of pointer chasing required to access properties.
2525
* *Entity limits:* Able to run graphs at large scales.
2626
Supports the highest limits at the time of writing.
27-
See <<block-format-limits, Block format entity limits>> for details.
27+
See <<block-format-limits, Block format entity limits>> for details. +
28+
label:new[Introduced in 5.25] Supports token names (including label, property key, and relationship type names) of any length up to the GQL identifier max length of 16,383 characters.
2829
* *Future-proofing:* Designed to be extended and improved without requiring store migrations. New features such as data types, or performance enhancements are available without rewriting the store.
2930

3031
Aligned::

modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,7 @@ ID::
10041004
LABEL::
10051005
Read one or more labels from this field.
10061006
Like array values, multiple labels are separated by `;`, or by the character specified with `--array-delimiter`.
1007+
label:new[Introduced in 5.25] The max length of label names for block format is 16,383 characters.
10071008

10081009
.Define node files
10091010
====
@@ -1054,6 +1055,7 @@ The mandatory fields are:
10541055

10551056
TYPE::
10561057
The relationship type to use for this relationship.
1058+
label:new[Introduced in 5.25] The max length of relationship type names for block format is 16,383 characters.
10571059
START_ID::
10581060
The ID of the start node for this relationship.
10591061
END_ID::
@@ -1099,6 +1101,7 @@ carrieanne,"Trinity",tt0242653,ACTED_IN
10991101

11001102
For properties, the `<name>` part of the field designates the property key, while the `<field_type>` part assigns a data type.
11011103
You can have properties in both node data files and relationship data files.
1104+
label:new[Introduced in 5.25] The max length of property keys for block format is 16,383 characters.
11021105

11031106
Use one of `int`, `long`, `float`, `double`, `boolean`, `byte`, `short`, `char`, `string`, `point`, `date`, `localtime`, `time`, `localdatetime`, `datetime`, and `duration` to designate the data type for properties.
11041107
By default, types (except arrays) are converted to Cypher types.

0 commit comments

Comments
 (0)