Skip to content

Commit 08b9944

Browse files
Add footnote that --schema is not supported in 5.24 (neo4j#1870)
Co-authored-by: NataliaIvakina <[email protected]>
1 parent 4d77063 commit 08b9944

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

modules/ROOT/pages/tools/neo4j-admin/neo4j-admin-import.adoc

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ If you need to debug the import, it might be useful to collect the stack trace.
291291
This is done by using the `--verbose` option.
292292
|import.report
293293

294-
|--schema=<path> label:new[Introduced in 5.24] label:enterprise[Enterprise edition]
295-
|File in which to store the Cypher schema commands to run as part of the data import.
294+
|--schema=<path>
295+
|label:new[Introduced in 5.24] label:enterprise[Enterprise edition] Path to the file containing the Cypher commands for creating indexes and constraints during data import.
296296
|
297297

298298
|--skip-bad-entries-logging[=true\|false]
@@ -313,8 +313,8 @@ In the event of multiple nodes within the same group having the same ID, the fir
313313
Skipped nodes will be logged, containing at most the number of entities specified by `--bad-tolerance`, unless otherwise specified by the `--skip-bad-entries-logging` option.
314314
|false
315315

316-
|--strict[=true\|false] label:new[Introduced in 5.6]
317-
| Whether or not the lookup of nodes referred to from relationships needs to be checked strict.
316+
|--strict[=true\|false]
317+
| label:new[Introduced in 5.6] Whether or not the lookup of nodes referred to from relationships needs to be checked strict.
318318
If disabled, most but not all relationships referring to non-existent nodes will be detected.
319319
If enabled all those relationships will be found but at the cost of lower performance.
320320
|false label:changed[Changed in 5.8]
@@ -333,6 +333,7 @@ performance, this value should not be greater than the number of available proce
333333
|
334334
|===
335335

336+
336337
[NOTE]
337338
.Heap size for the import
338339
====
@@ -455,7 +456,7 @@ For example:
455456

456457
[source, shell, role=noplay]
457458
----
458-
bin/neo4j-admin database import full neo4j --nodes=import/movies.csv --nodes=import/actors.csv --relationships=import/roles.csv --schema=import/schema.cypher
459+
bin/neo4j-admin database import full neo4j --nodes=import/movies.csv --nodes=import/actors.csv --relationships=import/roles.csv --schema=import/schema.cypher
459460
----
460461

461462

@@ -583,9 +584,9 @@ neo4j-admin database import incremental [-h] [--expand-commands] --force [--verb
583584
[--delimiter=<char>] [--high-parallel-io=on|off|auto]
584585
[--id-type=string|integer|actual] [--input-encoding=<character-set>]
585586
[--max-off-heap-memory=<size>] [--quote=<char>] [--read-buffer-size=<size>]
586-
[--report-file=<path>] [--stage=all|prepare|build|merge] [--threads=<num>]
587-
--nodes=[<label>[:<label>]...=]<files>... [--nodes=[<label>[:<label>]...=]
588-
<files>...]... [--relationships=[<type>=]<files>...]... <database>
587+
[--report-file=<path>] [--schema=<path>] [--stage=all|prepare|build|merge]
588+
[--threads=<num>] --nodes=[<label>[:<label>]...=]<files>... [--nodes=[<label>
589+
[:<label>]...=]<files>...]... [--relationships=[<type>=]<files>...]... <database>
589590
----
590591

591592
=== Description
@@ -798,6 +799,10 @@ If you need to debug the import, it might be useful to collect the stack trace.
798799
This is done by using the `--verbose` option.
799800
|import.report
800801

802+
|--schema=<path> footnote:[The `--schema` option is available in this version but not yet supported. It will be functional in a future release.]
803+
|label:new[Introduced in 5.24] Path to the file containing the Cypher commands for creating indexes and constraints during data import.
804+
|
805+
801806
|--skip-bad-entries-logging[=true\|false]
802807
|When set to `true`, the details of bad entries are not written in the log. Disabling logging can improve performance when the data contains lots of faults. Cleaning the data before importing it is highly recommended because faults dramatically affect the tool's performance even without logging.
803808
|false
@@ -825,8 +830,8 @@ For incremental import into an existing database use `all` (which requires the d
825830
For semi-online incremental import run `prepare` (on a stopped database) followed by `build` (on a potentially running database) and finally `merge` (on a stopped database).
826831
|all
827832

828-
|--strict[=true\|false] label:new[Introduced in 5.6]
829-
| Whether or not the lookup of nodes referred to from relationships needs to be checked strict.
833+
|--strict[=true\|false]
834+
| label:new[Introduced in 5.6] Whether or not the lookup of nodes referred to from relationships needs to be checked strict.
830835
If disabled, most but not all relationships referring to non-existent nodes will be detected.
831836
If enabled all those relationships will be found but at the cost of lower performance.
832837
|false label:changed[Changed in 5.8]

0 commit comments

Comments
 (0)