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
22services :
33 neo4j :
4- image : neo4j:5-enterprise
4+ image : neo4j:2025.08-community-ubi9
55 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
1010 environment :
1111 - NEO4J_AUTH=neo4j/cocoindex
1212 - NEO4J_PLUGINS='["graph-data-science"]'
13- - NEO4J_ACCEPT_LICENSE_AGREEMENT=eval
1413
1514 # Uncomment to enable query logging
1615 # - 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
442442This will bring up a Neo4j instance, which can be accessed by username ` neo4j ` and password ` cocoindex ` .
443443You can access the Neo4j browser at [ http://localhost:7474 ] ( http://localhost:7474 ) .
444444
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-
454445### Kuzu
455446
456447#### 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 {
739739 let matcher = state. object_label . matcher ( qualifier) ;
740740 let query = neo4rs:: query ( & match & state. index_def {
741741 IndexDef :: KeyConstraint { field_names } => {
742- let key_type = match & state. object_label {
743- ElementType :: Node ( _) => "NODE" ,
744- ElementType :: Relationship ( _) => "RELATIONSHIP" ,
745- } ;
746742 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 " ,
748744 name = key. name,
749745 field_names = build_composite_field_names( qualifier, field_names) ,
750746 )
You can’t perform that action at this time.
0 commit comments