Skip to content

Commit 57f9025

Browse files
committed
Add examples to the glossary descriptions
1 parent c5d9a86 commit 57f9025

File tree

3 files changed

+74
-61
lines changed

3 files changed

+74
-61
lines changed

modules/ROOT/pages/errors/gql-errors/52N36.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
== Status description
55
error: procedure exception - invalid procedure argument with API documentation hint. Invalid argument `{ <<field>> }` for `{ <<procParam>> }` on procedure `{ <<proc>> }`. The expected format of `{ <<procParam>> }` is outlined in the `{ <<procParamFmt>> }` API documentation.
6+
67
ifndef::backend-pdf[]
78
[discrete.glossary]
89
== Glossary

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,7 +1242,7 @@ m|UNSUPPORTED
12421242
m|01N40
12431243
|Status description
12441244
a|warn: unsupported runtime.
1245-
The query cannot be executed with `{ $preparser_input1 }`, `{ $preparser_input2 }` is used.
1245+
The query cannot be executed with `{ $preparserInput1 }`, `{ $preparserInput2 }` is used.
12461246
Cause: `{ $msg }`.
12471247
|Classification
12481248
m|UNSUPPORTED
@@ -3604,7 +3604,7 @@ m|SECURITY
36043604
|GQLSTATUS code
36053605
m|01N72
36063606
|Status description
3607-
a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead.
3607+
a|warn: insecure URL protocol. Query uses an insecure protocol. Consider using 'https' instead.
36083608
|Classification
36093609
m|SECURITY
36103610
|SeverityLevel
@@ -4299,7 +4299,7 @@ m|00NA0
42994299
|Status description
43004300
a|note: successful completion - index or constraint already exists.
43014301
`{ $cmd }` has no effect.
4302-
`{ $index_constr_pat }` already exists.
4302+
`{ $idxOrConstrPat }` already exists.
43034303
|SeverityLevel
43044304
m|INFORMATION
43054305
|===
@@ -4530,7 +4530,7 @@ m|00NA1
45304530
|Status description
45314531
a|note: successful completion - index or constraint does not exist.
45324532
`{ $cmd }` has no effect.
4533-
`{ $index_constr_name }` does not exist.
4533+
`{ $idxOrConstr }` does not exist.
45344534
|SeverityLevel
45354535
m|INFORMATION
45364536
|===

modules/ROOT/partials/glossary.adoc

Lines changed: 69 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,94 @@
11
[glossary]
22

33
[[action]]$action:: Freeform description of an action.
4-
[[alias]]$alias:: An alias name.
5-
[[alloc]]$alloc:: Allocator name.
6-
[[allocType]]$allocType:: Allocation type.
7-
[[auth]]$auth:: Auth provider name.
8-
[[boltMsgLenLimit]]$boltMsgLenLimit:: Bolt message length limit.
9-
[[boltServerState]]$boltServerState:: Bolt server state.
4+
//$action will be replaced by cmd and msg depending on the usage.
5+
[[alias]]$alias:: An alias name, `mydb-alias`.
6+
[[allocType]]$allocType:: Allocation type (`primary` or `secondary`).
7+
[[arg]]$arg:: Procedure or function argument, for example, `database`, `pause`, `dryrun`, etc.
8+
[[argType]]$argType:: Argument type, either input or output.
9+
[[auth]]$auth:: Auth provider name, for example, `ldap`, `native`.
10+
[[boltServerState]]$boltServerState:: Bolt server state, for example, `READY`.
1011
[[cause]]$cause:: Freeform description of what caused the error.
1112
[[cfgSetting]]$cfgSetting:: Configuration setting key, for example, `server.https.enabled`.
12-
[[clause]]$clause:: A clause, for example, `USE`.
13-
[[cmd]]$cmd:: Cypher administrative command, for example, `DROP DATABASE`.
14-
[[component]]$component:: Component name.
15-
[[constr]]$constr:: Constraint name.
16-
[[constrDescrOrName]]$constrDescrOrName:: Constraint descriptor or name.
17-
[[context]]$context:: Freeform description of a context.
18-
[[coordinates]]$coordinates:: Coordinate value.
19-
[[count]]$count:: Amount
13+
[[clause]]$clause:: A Cypher clause, for example, `USE`, `MATCH`.
14+
[[cmd]]$cmd:: A Cypher command, for example, `DROP DATABASE`, `PROFILE`, `SHOW PROCEDURES`.
15+
[[component]]$component:: Data type component, for example, `year`, `month`, `hour`, etc.
16+
// we need to change the parameter $component in 51N27 to `$feat` maybe.
17+
[[constr]]$constr:: Constraint name, for example, `book_isbn`.
18+
//Change $constr to $constrName
19+
[[constrDescrOrName]]$constrDescrOrName:: Constraint description, `(:Label {property0, property1, property2, property1, property3})`.
20+
//Change $constrDescrOrName to $constrDescr
21+
[[context]]$context:: Freeform description of a context, where something is invalid or unsupported, `OPTIONS`, `URL`, `username`, etc.
22+
[[coordinates]]$coordinates:: Coordinate value, for example, `[3.15, 4.012, 5.905]`.
23+
[[count]]$count:: Number of something, example, `3`.
2024
[[countAllocs]]$countAllocs:: Desired number of servers to use.
2125
[[countSeeders]]$countSeeders:: Number of seeding servers.
22-
[[crs]]$crs:: Coordinate reference system, for example, WGS84.
26+
//To check with the clustering team about $countAllocs and $countSeeders.
27+
[[crs]]$crs:: Coordinate reference system, for example, `WGS84`.
2328
[[db]]$db:: Database name, for example, `myDb`.
24-
[[dim]]$dim:: Number representing index dimenionality.
25-
[[edition]]$edition:: Freeform edition description.
26-
[[endpointType]]$endpointType:: One of `start`, `end`.
29+
[[dim]]$dim:: Number representing index or point dimenionality.
30+
[[edition]]$edition:: Neo4j edition, for example, Community or Enterprise.
31+
[[endpointType]]$endpointType:: One of `start` or `end` of a relationship.
2732
[[entityId]]$entityId:: ID of a node or a relationship.
2833
[[entityType]]$entityType:: A node or a relationship.
2934
[[expr]]$expr:: Cypher expression, for example, `1 + n.prop`.
30-
[[exprType]]$exprType:: Freeform expression type.
35+
[[exprType]]$exprType:: Freeform expression type, for example, `EXISTS`, `COUNT`, `COLLECT`.
3136
[[feat]]$feat:: Freeform feature description.
32-
[[field]]$field:: Input field, for example, for a procedure or deserialization.
33-
[[format]]$format:: Duration format.
34-
[[fun]]$fun:: Function name.
35-
[[funClass]]$funClass:: User defined function implementation class name.
37+
[[field]]$field:: Input field, for example, of a procedure, function, or deserialization.
38+
//52N22 and 52N36 to change $field to $arg. Check 22N98 with Antonio.
39+
[[fun]]$fun:: Function name, for example, `collect()`.
40+
[[funClass]]$funClass:: User-defined function implementation class name, for example, `MyFunctionClass`.
3641
[[graph]]$graph:: The name of a graph, for example, `myGraph`.
37-
[[graphTypeDependence]]$graphTypeDependence:: Graph type dependencency for constraint.
38-
[[hint]]$hint:: Freeform description of a "hint".
39-
[[hintList]]$hintList:: Comma-separated list of free form descriptions of hints.
40-
[[ident]]$ident:: Generic identifier.
41-
[[idx]]$idx:: Index name.
42-
[[idxDescr]]$idxDescr:: Index descriptor.
42+
[[graphTypeDependence]]$graphTypeDependence:: Graph type dependencency for constraint, one of `UNDESIGNATED`, `INDEPENDENT`, or `DEPENDENT`.
43+
[[hint]]$hint:: Freeform description of a hint, for example, `USING INDEX n:N(prop)`.
44+
[[hintList]]$hintList:: A list of free form descriptions of hints like `USING INDEX n:N(prop)`.
45+
[[idx]]$idx:: Index name, `my_index`.
46+
//Change $idx to $idxName
47+
[[idxDescr]]$idxDescr:: Index description, for example, `INDEX :Person(name)`.
4348
[[idxDescrOrName]]$idxDescrOrName:: Index descriptor or name.
44-
[[idxOrConstr]]$idxOrConstr:: Index or constraint name
45-
[[idxOrConstrPat]]$idxOrConstrPat:: Index or constraint pattern
49+
//Change all error parameters to $idxDescr or $idxName, and remove $idxDescrOrName.
50+
[[idxOrConstr]]$idxOrConstr:: Index or constraint name, for example, `my_index` or `book_isbn`.
51+
[[idxOrConstrPat]]$idxOrConstrPat:: Index or constraint pattern, for example, `CREATE CONSTRAINT bar IF NOT EXISTS FOR (n:L) REQUIRE (n.p1) IS NODE KEY`.
4652
[[idxType]]$idxType:: Index type, for example, text, vector, etc.
47-
[[input]]$input:: Piece of input.
48-
[[inputList]]$inputList:: Comma-separated list of inputs.
53+
[[input]]$input:: Piece of user input.
54+
[[inputList]]$inputList:: A list of user inputs.
4955
[[item]]$item:: Freeform description of an item.
56+
//Change 22N90 to $valType, 51N30 to $feat maybe (check with Lasse). Remove $item.
5057
[[keyword]]$keyword:: Cypher keyword, for example, `MERGE`.
5158
[[label]]$label:: Label name, for example, `Person`.
52-
[[labelExpr]]$labelExpr:: Label expression, for example, `Person&Human`.
53-
[[labelList]]$labelList:: Comma-separated list of label names, for example, `Person, Actor`.
54-
[[lower]]$lower:: Lower bound.
59+
[[labelExpr]]$labelExpr:: Label expression, for example, `(n:Movie|Person)`.
60+
[[labelList]]$labelList:: A list of label names, for example, `Person, Actor`.
61+
[[lower]]$lower:: The lowest accepted number of a range.
5562
[[mapKey]]$mapKey:: Map key.
56-
[[mapKeyList]]$mapKeyList:: Comma-separated list of keys.
57-
[[matchMode]]$matchMode:: GPM match mode.
58-
[[maxTokenLength]]$maxTokenLength:: Maximum token length.
59-
[[msg]]$msg:: Freeform message, for example, "Howdy, Partner!".
63+
[[mapKeyList]]$mapKeyList:: A list of map keys, for example, `x and y`.
64+
[[matchMode]]$matchMode:: GPM match mode, for example, `REPEATABLE ELEMENTS`.
65+
[[msg]]$msg:: Freeform message.
6066
[[msgTitle]]$msgTitle:: Freeform message title.
61-
[[namespace]]$namespace:: Namespace
62-
[[namespaceList]]$namespaceList:: Comma-separated list of namespaces.
63-
[[operation]]$operation:: Operation, for example, a function.
67+
//Change $msgTitle to $excClass
68+
[[namespaceList]]$namespaceList:: A list of namespaces of procedures, for example, `apoc.math.`.
69+
[[operation]]$operation:: A mathematical operation, for example, `/ by zero`, `>`.
70+
//Change 51N69 to something else.
6471
[[option]]$option:: Option name
65-
[[optionList]]$optionList:: Comma-separated list of option names.
66-
[[param]]$param:: Parameter name
67-
[[paramList]]$paramList:: Parameter list
72+
//This needs further investigation.
73+
[[optionList]]$optionList:: A list of option names.
74+
//This needs further investigation.
75+
[[param]]$param:: Parameter name, for example, `$pattern`.
76+
[[paramList]]$paramList:: A list of parameters, for example `$pattern, $prop`.
6877
[[pat]]$pat:: Pattern, for example, `(:Person)`.
69-
[[port]]$port:: Port name
70-
[[portList]]$portList:: Comma-separated list of port names.
71-
[[pos]]$pos:: A position, for example, in a sequence.
72-
[[pred]]$pred:: A predicate, for example, `'x = 3'`.
73-
[[predList]]$predList:: Comma-separated list of predicates, for example, `'x = 3', 'y > 4'`.
78+
[[port]]$port:: Port name, for example, `6362`.
79+
[[portList]]$portList:: A list of port names, for example, `6362, 6000, 7000`.
80+
[[pos]]$pos:: A position, for example, in a sequence, for example, `2`
81+
[[pred]]$pred:: A predicate, for example, `x = 3`.
82+
[[predList]]$predList:: A list of predicates, for example, `'x = 3', 'y > 4'`.
7483
[[preparserInput]]$preparserInput:: Piece of preparser input.
75-
[[proc]]$proc:: Procedure name, for example, `lauchRocket`.
76-
[[procClass]]$procClass:: Procedure implementation class name.
77-
[[procExeMode]]$procExeMode:: Procedure execution mode
78-
[[procField]]$procField:: Procedure implementation class field name, for example, `someField`.
79-
[[procFieldType]]$procFieldType:: Procedure implmenetation class field type.
84+
//Change in the code to $input and update the notifications.
85+
[[proc]]$proc:: Procedure name, for example, `db.labels()`.
86+
[[procClass]]$procClass:: User-defined procedure implementation class name, for example, `MyProcedureClass`.
87+
[[procExeMode]]$procExeMode:: Procedure execution mode, one of `READ`, `WRITE`, `SCHEMA`, and `DBMS`.
88+
[[procField]]$procField:: Procedure implementation class argument name, for example, `myArgument`.
89+
//Change $proField to $arg
90+
[[procFieldType]]$procFieldType:: Procedure implmenetation class argument type, one of `input` or `output`.
91+
//Change $procFieldType to $argType //// //// //// //// //// ////
8092
[[procFun]]$procFun:: Procedure or function name or ID.
8193
[[procMethod]]$procMethod:: Procedure implmenetation class method name.
8294
[[procParam]]$procParam:: Procedure parameter name.
@@ -99,7 +111,7 @@
99111
[[serverType]]$serverType:: Server type.
100112
[[sig]]$sig:: Procedure or function signature.
101113
[[syntax]]$syntax:: Freeform syntax or keyword.
102-
[[temporal]]$temporal:: Temporal value.
114+
[[temporal]]$temporal:: Temporal value, for example, `2025-02-18`.
103115
[[timeAmount]]$timeAmount:: Integral amount of time unit.
104116
[[timeUnit]]$timeUnit:: Common time unit name.
105117
[[token]]$token:: Token name.

0 commit comments

Comments
 (0)