You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/aura-graph-analytics/cypher.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ WITH gds.aura.api.credentials($clientId, $clientSecret) AS credentials
144
144
CALL gds.session.getOrCreate(
145
145
'test-session',
146
146
'4GB',
147
-
duration({minutes: 5})
147
+
duration({minutes: 30})
148
148
)
149
149
YIELD id AS sessionId, name AS sessionName
150
150
RETURN sessionId, sessionName
@@ -180,7 +180,7 @@ CALL gds.session.getOrCreate(
180
180
| Name | Type | Optional | Description
181
181
| sessionName | String | no | The name of the GDS Session to create or return.
182
182
| memory | String | no | The size of the GDS Session, e.g. `4GB`, `8GB`, etc.
183
-
| ttl | Duration | yes | The time to live of the GDS Session when no activity is recorded, e.g. `duration({days: 1})`, `duration({hours: 12})`, etc. The default value is 2 days.
183
+
| ttl | Duration | yes | The time to live of the GDS Session when no activity is recorded, e.g. `duration({days: 1})`, `duration({hours: 12})`, etc. The default value is 1 hour.
Copy file name to clipboardExpand all lines: doc/modules/ROOT/pages/aura-graph-analytics/quickstart.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ The next step is to project the data into a graph within a remote session.
33
33
The following example shows how to run a Cypher projection and xref:aura-graph-analytics/index.adoc#implicit-sessions[create a session] at the same time.
34
34
35
35
[IMPORTANT]
36
-
Make sure that the credentials you use here are the Aura API keys (client ID and client secret), *not* your AuraDB credentials (username and password).
36
+
Make sure that the credentials you use here are the link:https://neo4j.com/docs/aura/api/authentication/[Aura API keys] (client ID and client secret), *not* your AuraDB credentials (username and password).
37
37
38
38
.Project a graph called 'myGraph' using a remote Cypher projection into a new GDS Session
39
39
[source, cypher, role=noplay setup-query]
@@ -47,13 +47,13 @@ WITH gds.graph.project('myGraph', source, target, {
<1> The Cypher `parallel` runtime is recommended but not mandatory.
55
55
<2> Add the `gds.aura.api.credentials` function before the actual query.
56
-
You need to set the `clientId` and `clientSecret` link:https://neo4j.com/docs/cypher-manual/current/syntax/parameters/[query parameters] first.
56
+
You need to set the string values for `clientId` and `clientSecret` as link:https://neo4j.com/docs/cypher-manual/current/syntax/parameters/[query parameters] first.
57
57
<3> Set the `memory` (mandatory) and `ttl` (optional) parameters.
0 commit comments