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/algorithms/pregel-api.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
@@ -29,7 +29,7 @@ The introduction of a new Pregel algorithm can be separated in two main steps.
29
29
First, we need to implement the algorithm using the Pregel Java API.
30
30
Second, we need to expose the algorithm via a Cypher procedure to make use of it.
31
31
32
-
For an example on how to expose a custom Pregel computation via a Neo4j procedure, have a look at the https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-example/src/main/java/org/neo4j/gds/beta/pregel[Pregel examples].
32
+
For an example on how to expose a custom Pregel computation via a Neo4j procedure, have a look at the https://github.com/neo4j/graph-data-science/tree/2.3/examples/pregel-example/src/main/java/org/neo4j/gds/beta/pregel[Pregel examples].
33
33
34
34
[[algorithms-pregel-api-java]]
35
35
== Pregel Java API
@@ -510,7 +510,7 @@ For more details, please refer to the xref:algorithms/pregel-api.adoc#algorithms
510
510
=== Building and installing a Neo4j plugin
511
511
512
512
In order to use a Pregel algorithm in Neo4j via a procedure, we need to package it as Neo4j plugin.
513
-
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
513
+
The https://github.com/neo4j/graph-data-science/tree/2.3/examples/pregel-bootstrap[pregel-bootstrap] project is a good starting point.
514
514
The `build.gradle` file within the project contains all the dependencies necessary to implement a Pregel algorithm and to generate corresponding procedures.
515
515
516
516
Make sure to change the `gdsVersion` and `neo4jVersion` according to your setup.
@@ -541,7 +541,7 @@ NOTE: Before `Neo4j 4.2`, the configuration setting is called `dbms.security.pro
541
541
[[algorithms-pregel-api-example]]
542
542
== Examples
543
543
544
-
The https://github.com/neo4j/graph-data-science/tree/master/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
544
+
The https://github.com/neo4j/graph-data-science/tree/2.3/examples/pregel-example[pregel-examples] module contains a set of examples for Pregel algorithms.
545
545
The algorithm implementations demonstrate the usage of the Pregel API.
546
546
Along with each example, we provide test classes that can be used as a guideline on how to write tests for custom algorithms.
547
547
To play around, we recommend copying one of the algorithms into the `pregel-bootstrap` project, build it and setup the plugin in Neo4j.
0 commit comments