From e740e819adb934324a22ec2d5496340d0e2fe7f5 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Tue, 22 Oct 2024 13:52:00 +0100 Subject: [PATCH 1/3] 16,383 is the max length of tokens in characters --- modules/ROOT/pages/database-internals/store-formats.adoc | 3 ++- modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/database-internals/store-formats.adoc b/modules/ROOT/pages/database-internals/store-formats.adoc index b9f3ae8e6..d5c41698e 100644 --- a/modules/ROOT/pages/database-internals/store-formats.adoc +++ b/modules/ROOT/pages/database-internals/store-formats.adoc @@ -24,7 +24,8 @@ Block format means a few pages need to be loaded to serve a query, i.e. fewer pa * *Property access:* Properties are stored in blocks with their nodes and relationships drastically reducing the amount of pointer chasing required to access properties. * *Entity limits:* Able to run graphs at large scales. Supports the highest limits at the time of writing. -See <> for details. +See <> for details. + +label:new[Introduced in 5.25] The max length of token names (i.e., label, property key, and relationship type names) is 16,383 characters. * *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. Aligned:: diff --git a/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc b/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc index e8a8080a5..41022a8ca 100644 --- a/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc +++ b/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc @@ -1004,6 +1004,7 @@ ID:: LABEL:: Read one or more labels from this field. Like array values, multiple labels are separated by `;`, or by the character specified with `--array-delimiter`. + label:new[Introduced in 5.25] The max length of label names for block format is 16,383 characters. .Define node files ==== @@ -1054,6 +1055,7 @@ The mandatory fields are: TYPE:: The relationship type to use for this relationship. + label:new[Introduced in 5.25] The max length of relationship type names for block format is 16,383 characters. START_ID:: The ID of the start node for this relationship. END_ID:: @@ -1099,6 +1101,7 @@ carrieanne,"Trinity",tt0242653,ACTED_IN For properties, the `` part of the field designates the property key, while the `` part assigns a data type. You can have properties in both node data files and relationship data files. +label:new[Introduced in 5.25] The max length of property keys for block format is 16,383 characters. 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. By default, types (except arrays) are converted to Cypher types. From f563f705f7e5321690a5f741f8f3d20f83a0f715 Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Thu, 24 Oct 2024 10:20:22 +0100 Subject: [PATCH 2/3] apply suggestions from review --- modules/ROOT/pages/database-internals/store-formats.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/database-internals/store-formats.adoc b/modules/ROOT/pages/database-internals/store-formats.adoc index d5c41698e..9424a330f 100644 --- a/modules/ROOT/pages/database-internals/store-formats.adoc +++ b/modules/ROOT/pages/database-internals/store-formats.adoc @@ -25,7 +25,7 @@ Block format means a few pages need to be loaded to serve a query, i.e. fewer pa * *Entity limits:* Able to run graphs at large scales. Supports the highest limits at the time of writing. See <> for details. + -label:new[Introduced in 5.25] The max length of token names (i.e., label, property key, and relationship type names) is 16,383 characters. +label:new[Introduced in 5.25] Support token names (including label, property key, and relationship type names) of any length up to the GQL identifier max length of 16,383 characters. * *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. Aligned:: From 54ba658ed3a9adb7ed4d6368148a91fc445ed09a Mon Sep 17 00:00:00 2001 From: Reneta Popova Date: Thu, 24 Oct 2024 10:21:30 +0100 Subject: [PATCH 3/3] add s for consistency --- modules/ROOT/pages/database-internals/store-formats.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/database-internals/store-formats.adoc b/modules/ROOT/pages/database-internals/store-formats.adoc index 9424a330f..b0f13ca5f 100644 --- a/modules/ROOT/pages/database-internals/store-formats.adoc +++ b/modules/ROOT/pages/database-internals/store-formats.adoc @@ -25,7 +25,7 @@ Block format means a few pages need to be loaded to serve a query, i.e. fewer pa * *Entity limits:* Able to run graphs at large scales. Supports the highest limits at the time of writing. See <> for details. + -label:new[Introduced in 5.25] Support token names (including label, property key, and relationship type names) of any length up to the GQL identifier max length of 16,383 characters. +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. * *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. Aligned::