Skip to content

Commit a9730fe

Browse files
Update descriptions in show index columns (#1403)
was missing vector type in the index type column and the entity type values were odd (now they're aligned with the constraints one and more accurate to what values it actually returns) the vector in the index type column should have been added when vector indexes were introduced, the entity type column update is just general from the beginning of show indexes. the vector property type constraint update is only relevant for cypher 25 after the vector type was released --------- Co-authored-by: Richard Sill <[email protected]>
1 parent 884eb70 commit a9730fe

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

modules/ROOT/pages/constraints/managing-constraints.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,8 @@ The allowed property types for property type constraints are:
452452

453453
[NOTE]
454454
Because storing lists of xref:values-and-types/vector.adoc[`VECTOR`] values is not supported, property type constraints cannot be created for `LIST<VECTOR<TYPE>(DIMENSION) NOT NULL>`.
455+
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`.
456+
For more information, see xref:values-and-types/vector.adoc[Values and types -> Vectors].
455457

456458
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].
457459

modules/ROOT/pages/constraints/syntax.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Where `<TYPE>` is one of the following property types:
138138

139139
[NOTE]
140140
Because storing lists of xref:values-and-types/vector.adoc[`VECTOR`] values is not supported, property type constraints cannot be created for `LIST<VECTOR<TYPE>(DIMENSION) NOT NULL>`.
141-
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`.
141+
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`.
142142
For more information, see xref:values-and-types/vector.adoc[Values and types -> Vectors].
143143

144144
Allowed syntax variations of these types are listed in xref::values-and-types/property-structural-constructed.adoc#types-synonyms[Types and their synonyms].

modules/ROOT/pages/indexes/search-performance-indexes/managing-indexes.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -954,11 +954,11 @@ The below table contains the full information about all columns returned by the
954954
| `FLOAT`
955955

956956
| `type`
957-
| The IndexType of this index (`FULLTEXT`, `LOOKUP`, `POINT`, `RANGE`, or `TEXT`). label:default-output[]
957+
| The IndexType of this index (`FULLTEXT`, `LOOKUP`, `POINT`, `RANGE`, `TEXT`, or `VECTOR`). label:default-output[]
958958
| `STRING`
959959

960960
| `entityType`
961-
| Type of entities this index represents (nodes or relationship). label:default-output[]
961+
| Type of entities this index represents (`NODE` or `RELATIONSHIP`). label:default-output[]
962962
| `STRING`
963963

964964
| `labelsOrTypes`

0 commit comments

Comments
 (0)