From 5078df1a615af70e0b46427b58cfd077c3b90c62 Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Fri, 10 Oct 2025 15:42:53 +0200 Subject: [PATCH 1/3] Update descriptions in show index columns was missing vector type and the entity type values was odd (now they're aligned with the constraints one and more accurate to what values it actually returns) --- .../indexes/search-performance-indexes/managing-indexes.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/indexes/search-performance-indexes/managing-indexes.adoc b/modules/ROOT/pages/indexes/search-performance-indexes/managing-indexes.adoc index 2374ae529..a70f9a43a 100644 --- a/modules/ROOT/pages/indexes/search-performance-indexes/managing-indexes.adoc +++ b/modules/ROOT/pages/indexes/search-performance-indexes/managing-indexes.adoc @@ -954,11 +954,11 @@ The below table contains the full information about all columns returned by the | `FLOAT` | `type` -| The IndexType of this index (`FULLTEXT`, `LOOKUP`, `POINT`, `RANGE`, or `TEXT`). label:default-output[] +| The IndexType of this index (`FULLTEXT`, `LOOKUP`, `POINT`, `RANGE`, `TEXT`, or `VECTOR`). label:default-output[] | `STRING` | `entityType` -| Type of entities this index represents (nodes or relationship). label:default-output[] +| Type of entities this index represents (`NODE` or `RELATIONSHIP`). label:default-output[] | `STRING` | `labelsOrTypes` From a0e12ba9b1cde19b95cb0f4e51d0c418da254dcf Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Wed, 15 Oct 2025 08:53:45 +0200 Subject: [PATCH 2/3] add info around dimension and coordinate value also on the allowed types section on the main constraint page and not just the syntax page (it was mentioned in the example but not by the type list) unrelated to the index bits, but something I noticed on the constraint PR but that didn't get updated before it was merged --- modules/ROOT/pages/constraints/managing-constraints.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/ROOT/pages/constraints/managing-constraints.adoc b/modules/ROOT/pages/constraints/managing-constraints.adoc index 3b63b8eb7..cefd7a151 100644 --- a/modules/ROOT/pages/constraints/managing-constraints.adoc +++ b/modules/ROOT/pages/constraints/managing-constraints.adoc @@ -452,6 +452,8 @@ The allowed property types for property type constraints are: [NOTE] Because storing lists of xref:values-and-types/vector.adoc[`VECTOR`] values is not supported, property type constraints cannot be created for `LIST(DIMENSION) NOT NULL>`. +Additionally, `VECTOR` property type constraints must be created with a specific dimension and coordinate value, where the dimension must be greater than `0` and less or equal to `4096`. +For more information, see xref:values-and-types/vector.adoc[Values and types -> Vectors]. For a complete reference describing all types available in Cypher, see the section on xref::values-and-types/property-structural-constructed.adoc#types-synonyms[types and their synonyms]. From 67b1bfca6d6ffd15a4cadb60ec680005497ebf77 Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Wed, 15 Oct 2025 09:30:04 +0200 Subject: [PATCH 3/3] Fix review comments --- modules/ROOT/pages/constraints/managing-constraints.adoc | 2 +- modules/ROOT/pages/constraints/syntax.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ROOT/pages/constraints/managing-constraints.adoc b/modules/ROOT/pages/constraints/managing-constraints.adoc index cefd7a151..802cfd831 100644 --- a/modules/ROOT/pages/constraints/managing-constraints.adoc +++ b/modules/ROOT/pages/constraints/managing-constraints.adoc @@ -452,7 +452,7 @@ The allowed property types for property type constraints are: [NOTE] Because storing lists of xref:values-and-types/vector.adoc[`VECTOR`] values is not supported, property type constraints cannot be created for `LIST(DIMENSION) NOT NULL>`. -Additionally, `VECTOR` property type constraints must be created with a specific dimension and coordinate value, where the dimension must be greater than `0` and less or equal to `4096`. +Additionally, `VECTOR` property type constraints must be created with a specific dimension and coordinate value, where the dimension must be greater than `0` and less than or equal to `4096`. For more information, see xref:values-and-types/vector.adoc[Values and types -> Vectors]. For a complete reference describing all types available in Cypher, see the section on xref::values-and-types/property-structural-constructed.adoc#types-synonyms[types and their synonyms]. diff --git a/modules/ROOT/pages/constraints/syntax.adoc b/modules/ROOT/pages/constraints/syntax.adoc index a9edcaa92..e381c7bf6 100644 --- a/modules/ROOT/pages/constraints/syntax.adoc +++ b/modules/ROOT/pages/constraints/syntax.adoc @@ -138,7 +138,7 @@ Where `` is one of the following property types: [NOTE] Because storing lists of xref:values-and-types/vector.adoc[`VECTOR`] values is not supported, property type constraints cannot be created for `LIST(DIMENSION) NOT NULL>`. -Additionally, `VECTOR` property type constraints must be created with a specific dimension and coordinate value, where the dimension must be greater than `0` and less or equal to `4096`. +Additionally, `VECTOR` property type constraints must be created with a specific dimension and coordinate value, where the dimension must be greater than `0` and less than or equal to `4096`. For more information, see xref:values-and-types/vector.adoc[Values and types -> Vectors]. Allowed syntax variations of these types are listed in xref::values-and-types/property-structural-constructed.adoc#types-synonyms[Types and their synonyms].