From 98caf158e3db05d8a0e7705be92153af086600e7 Mon Sep 17 00:00:00 2001 From: Natalia Ivakina Date: Fri, 20 Sep 2024 15:56:42 +0200 Subject: [PATCH 1/7] Add `--schema` to the neo4j-admin import tool --- .../tools/neo4j-admin/neo4j-admin-import.adoc | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) 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 bcc9da218..7a9457066 100644 --- a/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc +++ b/modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc @@ -64,6 +64,9 @@ These are some things you need to keep in mind when creating your input files: ==== Indexes and constraints are not created during the import. Instead, you have to add these afterward (see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/indexes-for-full-text-search[Cypher Manual -> Indexes]). + +Starting from Neo4j 5.24, you can use the `--schema` option to create indexes and contraints during the import process. +See <> for more information. ==== [[import-tool-full]] @@ -85,6 +88,7 @@ neo4j-admin database import full [-h] [--expand-commands] [--verbose] [--auto-sk [--bad-tolerance=] [--delimiter=] [--format=] [--high-parallel-io=on|off|auto] [--id-type=string|integer|actual] [--input-encoding=] [--max-off-heap-memory=] [--quote=] + [--schema=] [--read-buffer-size=] [--report-file=] [--threads=] --nodes=[