-
Notifications
You must be signed in to change notification settings - Fork 64
VECTOR property type constraints #1325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VECTOR property type constraints #1325
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did another look-through and found some more things
modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc
Outdated
Show resolved
Hide resolved
.Create `VECTOR` property type constraints label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.10] | ||
====== | ||
It is necessary to specify both the dimension and the coordinate type of any constrained `VECTOR` properties. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is necessary to specify both the dimension and the coordinate type of any constrained `VECTOR` properties. | |
It is necessary to specify both the dimension and the coordinate type of all constrained `VECTOR` properties. |
or
It is necessary to specify both the dimension and the coordinate type of any constrained `VECTOR` properties. | |
It is necessary to specify both the dimension and the coordinate type of any constrained `VECTOR` property. |
maybe? sounded odd to me with any ... properties
* `ZONED DATETIME` | ||
* `DURATION` | ||
* `POINT` | ||
* `VECTOR<TYPE>(DIMENSION)` label:cypher[Cypher 25 only] label:new[Introduced in Neo4j 2025.10] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we say what TYPE and DIMENSION is here? it's mentioned on the syntax page in the note below, and exists up by the example of vector property type constraints but not in this list of allowed types
See also: #1325 Co-authored-by: Stefano Ottolenghi <[email protected]>
Thanks for the documentation updates. The preview documentation has now been torn down - reopening this PR will republish it. |
This PR will fail for now because it uses xrefs pointing to unmerged changes (part of #1299)
See also:
#1299
TODO:
Confirm release version (and update all instances of "2025.xx" in this PR to whatever that version is)IMPORTANT: The changes made to managing-constraints.adoc must be ported over to constraints/create-constraints.adoc, constraints/list-constraints.adoc and schema/syntax.adoc (in #1395) once this PR has been merged (assuming vector type constraints go live before graph types)