Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
943a07a
Version to 2025.
stefano-ottolenghi Dec 9, 2024
9b2a5f1
Bump the prod-dependencies group with 2 updates (#1131)
dependabot[bot] Dec 18, 2024
c1cf139
Bump the dev-dependencies group across 1 directory with 2 updates (#1…
dependabot[bot] Dec 18, 2024
49d4013
Several small fixes to query plan ascii and links (#1136)
JPryce-Aklundh Dec 19, 2024
87dc968
Add Performance caveats section to Merge/Match dynamic labels section…
JPryce-Aklundh Dec 19, 2024
f0eecf4
Bump @neo4j-antora/antora-modify-sitemaps from 0.4.4 to 0.5.0 in the …
dependabot[bot] Jan 7, 2025
c20fe4a
Add dynamically referenced labels and types to allowed parameters (#1…
JPryce-Aklundh Jan 7, 2025
d5aeaec
document deprecation of graph names with unesacped dots in USE clause…
nadja-muller Jan 7, 2025
702f2af
Correct genai batchEncode example syntax (#1148)
JMHReif Jan 9, 2025
912325e
The Cypher query option `eagerAnalyzer` is deprecated (#1147)
blouerat Jan 9, 2025
d3adebd
Fix examples in Patterns / Syntax and semantics / shortestPaths (#1151)
dogofbrian Jan 9, 2025
13bfb4c
Explain trigram indexing for text-2.0 provider (#1152)
JPryce-Aklundh Jan 10, 2025
57ae186
Document lower bound restriction for shortestPath() and allShortestPa…
WilcoNeo Jan 10, 2025
612137c
Hyphenation (#1154)
JPryce-Aklundh Jan 10, 2025
e1047a2
Keyword priority (#1130)
hvub Jan 13, 2025
ab39719
Clarify YIELD (#1157)
JPryce-Aklundh Jan 14, 2025
fca175b
Bump @neo4j-antora/antora-modify-sitemaps from 0.5.0 to 0.6.0 in the …
dependabot[bot] Jan 14, 2025
09ee930
tags for READ query section (#1133)
rsill-neo4j Jan 14, 2025
d20cb4b
tags for clause section (#1138)
rsill-neo4j Jan 14, 2025
ea47a33
Alias to new keywords page (#1160)
JPryce-Aklundh Jan 14, 2025
ce32664
Property type rephrase (#1163)
JPryce-Aklundh Jan 15, 2025
32ccca0
fix antora for 2025.01 (#1164)
JPryce-Aklundh Jan 15, 2025
be0343d
Fix failing query plans (#1166)
JPryce-Aklundh Jan 16, 2025
fc34537
Table fixes, remove sitemap extension from playbook (#1167)
recrwplay Jan 16, 2025
0f8ffbd
Remove redundant antora attributes (#1168)
JPryce-Aklundh Jan 16, 2025
e493ce1
Clarify DETACH DELETE (#1156)
JPryce-Aklundh Jan 16, 2025
2b2241a
Bump @neo4j-antora/antora-table-footnotes from 0.3.2 to 0.3.3 in the …
dependabot[bot] Jan 21, 2025
899b365
Fix external links (#1172)
JPryce-Aklundh Jan 21, 2025
230001b
Remove invalid duration field (#1174)
gem-neo4j Jan 23, 2025
df9e288
Revert changes to pattern query plans (#1176)
JPryce-Aklundh Jan 28, 2025
c4762e7
Better Unicode example on Parsing page (#1177)
JPryce-Aklundh Jan 30, 2025
9c85b23
Fix tables (#1178)
JPryce-Aklundh Jan 30, 2025
4ceb45c
Bump @neo4j-antora/antora-modify-sitemaps from 0.6.0 to 0.6.1 in the …
dependabot[bot] Feb 4, 2025
aa05349
Update antora for 2025.02 (#1182)
JPryce-Aklundh Feb 4, 2025
4f0c318
Typo in example
stefano-ottolenghi Feb 12, 2025
cfec2cf
Add concurrency in GenAI example
stefano-ottolenghi Feb 12, 2025
4837369
Add examples to temporal instant values (#1189)
JPryce-Aklundh Feb 19, 2025
a40ace7
Fixes + sign formatting in deprecations page (#1192)
ikwattro Feb 21, 2025
56dd784
Added note on dynamic labels in INSERT (#1193)
JoelBergstrand Feb 21, 2025
277830d
Bump the prod-dependencies group with 2 updates (#1196)
dependabot[bot] Feb 25, 2025
807ebe2
Clarify predicate function and empty list behavior (#1197)
JPryce-Aklundh Feb 26, 2025
617c813
update antora for 2025.03 (#1200)
JPryce-Aklundh Feb 28, 2025
86b3a1e
remove developer survey (#1202)
recrwplay Feb 28, 2025
a634450
Update Operator reference in query-plan-eager. (#1209)
Dunfluff Mar 10, 2025
acb17cb
Fix link to dump files (/blob to /raw) (#1212)
JPryce-Aklundh Mar 12, 2025
d22525f
document statement types (#1213)
nadja-muller Mar 12, 2025
50c5503
Bump @neo4j-antora/antora-modify-sitemaps from 0.7.0 to 0.7.1 in the …
dependabot[bot] Mar 18, 2025
e13d55a
`ON ERROR RETRY` for 5 manual (#1220)
JPryce-Aklundh Mar 19, 2025
2fcd002
Update docs-pr-checks.yml (#1219)
recrwplay Mar 19, 2025
b3ce4c8
Clarify iterative functions (#1224)
JPryce-Aklundh Mar 25, 2025
c625be8
Add note clarifying Java versions for Vector index performance sugges…
JPryce-Aklundh Mar 25, 2025
9ce9818
fix SHORTEST note (#1217)
JPryce-Aklundh Mar 25, 2025
cc7133a
CALL subqueries for cheat sheet (includes ON ERROR RETRY) (#1226)
JPryce-Aklundh Mar 26, 2025
6780a55
fix tag
JPryce-Aklundh Mar 26, 2025
43ddde9
fix conflicts
JPryce-Aklundh Mar 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ nav:
- modules/ROOT/content-nav.adoc
asciidoc:
attributes:
neo4j-version: '2025.02'
neo4j-version: '2025.03'
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,34 @@ New features are added to the language continuously, and occasionally, some feat
This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions.
Replacement syntax for deprecated and removed features are also indicated.

[[cypher-deprecations-additions-removals-2025.03]]
== Neo4j 2025.03

=== New features

[cols="2", options="header"]
|===
| Feature
| Details

a|
label:functionality[]
label:new[]
[source, cypher, role=noheader]
----
UNWIND range(1, 100) AS i
CALL (i) {
MERGE (u:User {id: i})
ON CREATE SET u.created = timestamp()
} IN TRANSACTIONS ON ERROR RETRY 1 SECOND THEN FAIL
----

| New error handling option for `CALL { ... } IN TRANSACTIONS`: `ON ERROR RETRY`.
This option applies an exponential delay between retries for transaction batches failing due to transient errors, with an optional maximum retry duration, and handles failure based on a specified fallback error mode if the transaction does not succeed within the given time.
For more information, see xref:subqueries/subqueries-in-transactions#on-error-retry[`CALL` subqueries in transactions -> `ON ERROR RETRY`].

|===

[[cypher-deprecations-additions-removals-2025.01]]
== Neo4j 2025.01

Expand Down
11 changes: 10 additions & 1 deletion modules/ROOT/pages/subqueries/call-subquery.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ The variables returned in a subquery are available to the outer scope of the enc
In this example, the `CALL` subquery executes three times, one for each row that the xref:clauses/unwind.adoc[`UNWIND`] clause outputs.

.Query
// tag::subqueries_call_subquery_basic_example[]
[source, cypher]
----
UNWIND [0, 1, 2] AS x
Expand All @@ -58,6 +59,8 @@ CALL () {
}
RETURN innerReturn
----
// end::subqueries_call_subquery_basic_example[]


.Result
[role="queryresult",options="header,footer",cols="m"]
Expand Down Expand Up @@ -117,6 +120,7 @@ As a result, `CALL` subqueries can help maintain optimal performance and scalabi
In this example, a `CALL` subquery is used to xref:functions/aggregating.adoc#functions-collect[`collect`] a `LIST` containing all players who play for a particular team.

.Collect a list of all players playing for a particular team
// tag::subqueries_call_subquery_variable_scope[]
[source, cypher]
----
MATCH (t:Team)
Expand All @@ -126,6 +130,8 @@ CALL (t) {
}
RETURN t AS team, players
----
// end::subqueries_call_subquery_variable_scope[]


.Result
[source, role="queryresult",options="header,footer",cols="m,2m"]
Expand Down Expand Up @@ -457,6 +463,7 @@ RETURN p.name AS playerName, team.name AS team
Note that no results are returned for `Player C`, since they are not connected to any `Team` with a `PLAYS_FOR` relationship.

.Query using regular `OPTIONAL CALL`
// tag::subqueries_call_subquery_optional_call[]
[source, cypher]
----
MATCH (p:Player)
Expand All @@ -466,10 +473,10 @@ OPTIONAL CALL (p) {
}
RETURN p.name AS playerName, team.name AS team
----
// end::subqueries_call_subquery_optional_call[]

Now all `Player` nodes, regardless of whether they have any `PLAYS_FOR` relationships connected to a `Team`, are returned.

.Result
.Result
[role="queryresult",options="header,footer",cols="2*m"]
|===
Expand Down Expand Up @@ -572,6 +579,7 @@ Call subqueries can be used to further process the results of a xref:clauses/uni
This example query finds the youngest and the oldest `Player` in the graph.

.Find the oldest and youngest players
// tag::subqueries_call_subquery_union[]
[source, cypher]
----
CALL () {
Expand All @@ -587,6 +595,7 @@ UNION
}
RETURN p.name AS playerName, p.age AS age
----
// end::subqueries_call_subquery_union[]

.Result
[role="queryresult",options="header,footer",cols="2*<m"]
Expand Down
Loading