-
Notifications
You must be signed in to change notification settings - Fork 36
Add new GQLSTATUS codes for search #408
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
base: dev
Are you sure you want to change the base?
Conversation
| = 42I69 | ||
|
|
||
| == Status description | ||
| error: syntax error or access rule violation - invalid search variable reference. `{ <<variable>> }` must reference a variable from the same MATCH statement. |
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.
I'm a bit unsure if we want to capitalize match or not, I noticed I was not consistent with this in the product PR. Of course it should be the same for all 4 codes but not sure if it should be match statement or MATCH statement
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.
I vote for MATCH because of https://neo4j.com/docs/cypher-manual/current/styleguide/#cypher-styleguide-casing. Personally I always write my queries in lower case though...
f5925c0 to
4be53df
Compare
4be53df to
684abfb
Compare
| ---- | ||
| MATCH (movie:Movie) | ||
| MATCH (m:Movie {title:'Matrix, The'}) | ||
| SEARCH movie IN ( |
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.
SEARCH will be a Cypher 25 feature, so do you think it make sense to prefix all example queries with CYPHER 25 for clarity?
Or can we assume that a user reading these docs is already on Cypher 25 and it can be implicit that the default language must be Cypher 25 for them to behave this way and just not just throw parser errors?
| = 42I69 | ||
|
|
||
| == Status description | ||
| error: syntax error or access rule violation - invalid search variable reference. `{ <<variable>> }` must reference a variable from the same MATCH statement. |
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.
I vote for MATCH because of https://neo4j.com/docs/cypher-manual/current/styleguide/#cypher-styleguide-casing. Personally I always write my queries in lower case though...
| @@ -0,0 +1,38 @@ | |||
| // TODO update to actual version when feature flag in enabled | |||
| :page-role: new-2026.01 | |||
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.
If this is available in 2026.01 do we need to hold the merge until then?
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.
Yes, we should not merge it until then.
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.
Also, we decided not to label them.
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.
Yes, I wanted to make this PR while I had everything fresh in mind and to get feedback on the error and notification text, but we will not be able to merge it for quite a while. It is not decided when it will be released yet but 2026.01 is my best bet.
Right @renetapopova , I created this PR before our last meeting, I will remove the labels.
|
This PR includes documentation updates New pages: Updated pages: |
Product PRs:
https://github.com/neo-technology/neo4j/pull/33805
https://github.com/neo-technology/neo4j/pull/34110
This PR should not be merged until the SEARCH feature is no longer feature flagged.
Linear: part of SURF-250