This is an unmanaged extension.
-
Build it using:
mvn clean package
-
Copy target/neo4reach-1.0.jar to the plugins/ directory of your Neo4j server.
-
Configure Neo4j by adding a line to conf/neo4j-server.properties:
dbms.unmanaged_extension_classes=org.neo4j.reach.unmanagedextension=/reach
-
Start Neo4j server.
-
Query it over HTTP:
curl http://localhost:7474/reach/reachability/source/{source node id}/target/{target node id}
You could also compare it with reachability query without using the index using:
curl http://localhost:7474/reach/reachability/noindex/source/{source node id}/target/{target node id}
This work is based on:
-
Zhu, Andy Diwen, et al. "Reachability queries on large dynamic graphs: a total order approach." Proceedings of the 2014 ACM SIGMOD international conference on Management of data. ACM, 2014.
-
Yildirim, Hilmi, Vineet Chaoji, and Mohammed J. Zaki. "Dagger: A scalable index for reachability queries in large dynamic graphs." arXiv preprint arXiv:1301.0977 (2013).