Skip to content

Commit 32730d2

Browse files
authored
Implement target index for Neo4j: without setup yet. (#282)
* Revise `neo4j` docker compose config. * Add dependency to `neo4rs`. * Implement target index for `Neo4j`: without setup yet.
1 parent 08c2c47 commit 32730d2

File tree

4 files changed

+468
-0
lines changed

4 files changed

+468
-0
lines changed

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,5 @@ urlencoding = "2.1.3"
100100
uuid = { version = "1.16.0", features = ["serde", "v4", "v8"] }
101101
tokio-stream = "0.1.17"
102102
async-stream = "0.3.6"
103+
neo4rs = "0.8.0"
104+
bytes = "1.10.1"

dev/neo4j.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
name: cocoindex-neo4j
12
services:
23
neo4j:
34
image: neo4j:latest
@@ -8,6 +9,7 @@ services:
89
- /$HOME/neo4j/plugins:/plugins
910
environment:
1011
- NEO4J_AUTH=neo4j/cocoindex
12+
- NEO4J_PLUGINS='["graph-data-science"]'
1113
ports:
1214
- "7474:7474"
1315
- "7687:7687"

src/ops/storages/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
pub mod neo4j;
12
pub mod postgres;

0 commit comments

Comments
 (0)