File tree Expand file tree Collapse file tree 4 files changed +8
-21
lines changed
examples/product_recommendation Expand file tree Collapse file tree 4 files changed +8
-21
lines changed Original file line number Diff line number Diff line change 1
- name : cocoindex-neo4j
1
+ name : cocoindex-neo4j-community
2
2
services :
3
3
neo4j :
4
- image : neo4j:5-enterprise
4
+ image : neo4j:2025.08-community-ubi9
5
5
volumes :
6
- - /$HOME/neo4j/logs:/logs
7
- - /$HOME/neo4j/config:/config
8
- - /$HOME/neo4j/data:/data
9
- - /$HOME/neo4j/plugins:/plugins
6
+ - /$HOME/neo4j/community/ logs:/logs
7
+ - /$HOME/neo4j/community/ config:/config
8
+ - /$HOME/neo4j/community/ data:/data
9
+ - /$HOME/neo4j/community/ plugins:/plugins
10
10
environment :
11
11
- NEO4J_AUTH=neo4j/cocoindex
12
12
- NEO4J_PLUGINS='["graph-data-science"]'
13
- - NEO4J_ACCEPT_LICENSE_AGREEMENT=eval
14
13
15
14
# Uncomment to enable query logging
16
15
# - NEO4J_db_logs_query_enabled=VERBOSE
Original file line number Diff line number Diff line change @@ -442,15 +442,6 @@ docker compose -f <(curl -L https://raw.githubusercontent.com/cocoindex-io/cocoi
442
442
This will bring up a Neo4j instance, which can be accessed by username ` neo4j ` and password ` cocoindex ` .
443
443
You can access the Neo4j browser at [ http://localhost:7474 ] ( http://localhost:7474 ) .
444
444
445
- ::: warning
446
-
447
- The docker compose config above will start a Neo4j Enterprise instance under the [ Evaluation License] ( https://neo4j.com/terms/enterprise_us/ ) ,
448
- with 30 days trial period.
449
- Please read and agree the license before starting the instance.
450
-
451
- :::
452
-
453
-
454
445
### Kuzu
455
446
456
447
#### Spec
Original file line number Diff line number Diff line change
1
+ .env
Original file line number Diff line number Diff line change @@ -739,12 +739,8 @@ impl components::SetupOperator for SetupComponentOperator {
739
739
let matcher = state. object_label . matcher ( qualifier) ;
740
740
let query = neo4rs:: query ( & match & state. index_def {
741
741
IndexDef :: KeyConstraint { field_names } => {
742
- let key_type = match & state. object_label {
743
- ElementType :: Node ( _) => "NODE" ,
744
- ElementType :: Relationship ( _) => "RELATIONSHIP" ,
745
- } ;
746
742
format ! (
747
- "CREATE CONSTRAINT {name} IF NOT EXISTS FOR {matcher} REQUIRE {field_names} IS {key_type} KEY " ,
743
+ "CREATE CONSTRAINT {name} IF NOT EXISTS FOR {matcher} REQUIRE {field_names} IS UNIQUE " ,
748
744
name = key. name,
749
745
field_names = build_composite_field_names( qualifier, field_names) ,
750
746
)
You can’t perform that action at this time.
0 commit comments