Skip to content

Conversation

@Lojjs
Copy link
Contributor

@Lojjs Lojjs commented Nov 10, 2025

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

= 42I69

== Status description
error: syntax error or access rule violation - invalid search variable reference. `{ <<variable>> }` must reference a variable from the same MATCH statement.
Copy link
Contributor Author

@Lojjs Lojjs Nov 10, 2025

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

Copy link
Contributor

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...

@Lojjs Lojjs force-pushed the gqlstatus-for-search branch from f5925c0 to 4be53df Compare November 10, 2025 12:11
@Lojjs Lojjs force-pushed the gqlstatus-for-search branch from 4be53df to 684abfb Compare November 10, 2025 12:16
@Lojjs Lojjs marked this pull request as ready for review November 10, 2025 12:17
@Lojjs Lojjs requested a review from renetapopova November 12, 2025 10:36
@Lojjs Lojjs added the dev The default branch. label Nov 12, 2025
----
MATCH (movie:Movie)
MATCH (m:Movie {title:'Matrix, The'})
SEARCH movie IN (
Copy link
Contributor Author

@Lojjs Lojjs Nov 12, 2025

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.
Copy link
Contributor

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
Copy link
Contributor

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?

Copy link
Collaborator

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.

Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@renetapopova renetapopova added 2026.01 and removed 2025.11 dev The default branch. labels Nov 18, 2025
@renetapopova renetapopova self-assigned this Nov 18, 2025
@neo4j-docops-agent
Copy link
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-status-codes-408.surge.sh

New pages:

Updated pages:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants