From 550c5f947e29d606373620b74c162a5fd79785b5 Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Fri, 25 Nov 2022 10:57:03 +0100 Subject: [PATCH 1/2] Update link --- modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc b/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc index 94085c579..625256be7 100644 --- a/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc +++ b/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc @@ -802,7 +802,7 @@ For example, you can use `uuid:ID(Person){label:Person}`, where the relationship [NOTE] ==== * For more information on constraints, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/constraints[Cypher Manual -> Constraints]. -* For examples of creating unique constraints, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/constraints/examples/#administration-constraints-unique-nodes[Cypher Manual -> Unique node property constraints]. +* For examples of creating unique constraints, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/constraints/examples/#constraints-examples-node-uniqueness[Cypher Manual -> Node uniqueness constraints]. ==== [[import-tool-header-format-nodes]] From 6a4adcf0a54f8a02c251f75f399a383c7357a1ef Mon Sep 17 00:00:00 2001 From: Therese Magnusson Date: Wed, 14 Dec 2022 09:32:45 +0100 Subject: [PATCH 2/2] Change constraint name to node/relationship property uniqueness constraints after discussion with Valerio and Emma --- .../ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc b/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc index 625256be7..e6bc6554c 100644 --- a/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc +++ b/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc @@ -506,7 +506,7 @@ The import command is run with the option `--stage=build`. ** _merge_ stage: + During this stage, the import tool merges the new with the existing data in the database. -It also updates the affected indexes and upholds the affected uniqueness constraints and property existence constraints. +It also updates the affected indexes and upholds the affected property uniqueness constraints and property existence constraints. The import command is run with the option `--stage=merge` and the database must be stopped. .Incremental import in a single command @@ -793,7 +793,7 @@ The header contains information for each field, with the format `:` is used for properties and node IDs. In all other cases, the `` part of the field is ignored. -When using incremental import, you will need to have node uniqueness constraints in place for the property key and label combinations that form the primary key, or the uniquely identifiable nodes. +When using incremental import, you will need to have node property uniqueness constraints in place for the property key and label combinations that form the primary key, or the uniquely identifiable nodes. For example, importing nodes with a `Person` label that are uniquely identified with a `uuid` property key, the format of the header should be `uuid:ID{label:Person}`. This is also true when working with multiple groups. @@ -802,7 +802,7 @@ For example, you can use `uuid:ID(Person){label:Person}`, where the relationship [NOTE] ==== * For more information on constraints, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/constraints[Cypher Manual -> Constraints]. -* For examples of creating unique constraints, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/constraints/examples/#constraints-examples-node-uniqueness[Cypher Manual -> Node uniqueness constraints]. +* For examples of creating property uniqueness constraints, see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/constraints/examples/#constraints-examples-node-uniqueness[Cypher Manual -> Node property uniqueness constraints]. ==== [[import-tool-header-format-nodes]]