Skip to content

Commit 160b9d5

Browse files
Hyphenation (#1154)
1 parent 7af0652 commit 160b9d5

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

modules/ROOT/pages/clauses/where.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ RETURN r.since
793793
|Rows: 1
794794
|===
795795

796-
However, it cannot be used inside of variable length relationships, as this would lead to an error.
796+
However, it cannot be used inside of variable-length relationships, as this would lead to an error.
797797
For example:
798798

799799
.Query

modules/ROOT/pages/patterns/fixed-length-patterns.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
:description: Information about node, relationship, and path patterns.
2-
= Fixed length patterns
2+
= Fixed-length patterns
33

4-
The most basic form of graph pattern matching in Cypher involves the matching of fixed length patterns.
4+
The most basic form of graph pattern matching in Cypher involves the matching of fixed-length patterns.
55
This includes node patterns, relationship patterns, and path patterns.
66

77
[[node-patterns]]
@@ -123,7 +123,7 @@ See the xref:patterns/reference.adoc#relationship-patterns[relationship patterns
123123
== Path patterns
124124

125125
Any valid path starts and ends with a node, with relationships between each node (if there is more than one node).
126-
Fixed length path patterns have the same restrictions, and for all valid path patterns the following are true:
126+
Fixed-length path patterns have the same restrictions, and for all valid path patterns the following are true:
127127

128128
* They have at least one node pattern.
129129
* They begin and end with a node pattern.

modules/ROOT/pages/patterns/reference.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ MATCH ((x:A)-[:R]->(z:B WHERE z.h > 2)){1,5}
717717
RETURN [n in x | n.h] AS x_h, [n in z | n.h] AS z_h
718718
----
719719

720-
Compared to the fixed length quantifier `\{2}`, this also matches paths of length one and three, but no matches exist for length greater than three:
720+
Compared to the fixed-length quantifier `\{2}`, this also matches paths of length one and three, but no matches exist for length greater than three:
721721

722722
[options="header",cols="2*<m"]
723723
|===
@@ -1372,7 +1372,7 @@ They are similar to `SHORTEST 1` and `ALL SHORTEST`, but with several difference
13721372
* The path pattern is passed as an argument to the functions.
13731373
* The path pattern is limited to a single relationship pattern.
13741374
* To return results where the first and last node in the path are the same requires a change to the configuration setting link:{neo4j-docs-base-uri}/operations-manual/{page-version}/configuration/configuration-settings/#config_dbms.cypher.forbid_shortestpath_common_nodes[`dbms.cypher.forbid_shortestpath_common_nodes`].
1375-
* The minimum path length, also called the lower bound of the variable length relationship pattern, should be 0 or 1.
1375+
* The minimum path length, also called the lower bound of the variable-length relationship pattern, should be 0 or 1.
13761376

13771377
Both functions will continue to be available, but they are not xref:appendix/gql-conformance/index.adoc[GQL conformant].
13781378

@@ -1394,7 +1394,7 @@ oneRelPathPatternExpression ::=
13941394
nodePattern varLengthRelationship nodePattern
13951395
----
13961396

1397-
Note that it is possible to pass a fixed length path pattern (with a single relationship) to the path selector function, but doing so would not serve any purpose in discovering a shortest path.
1397+
Note that it is possible to pass a fixed-length path pattern (with a single relationship) to the path selector function, but doing so would not serve any purpose in discovering a shortest path.
13981398

13991399
[[shortest-functions-rules]]
14001400
=== Rules

modules/ROOT/pages/patterns/variable-length-patterns.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
:description: Information about quantified path patterns, quantified relationships, and group variables.
2-
= Variable length patterns
2+
= Variable-length patterns
33

44
Cypher can be used to match patterns of a variable or an unknown length.
55
Such patterns can be found using quantified path patterns and quantified relationships.

modules/ROOT/pages/planning-and-tuning/query-tuning.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The overall goal of manual query performance optimization is to ensure that only
1616

1717
Queries should aim to filter data as early as possible in order to reduce the amount of work that has to be done in the later stages of query execution.
1818
This also applies to what gets returned: returning whole nodes and relationships ought to be avoided in favour of selecting and returning only the data that is needed.
19-
You should also make sure to set an upper limit on variable length patterns, so they don't cover larger portions of the dataset than needed.
19+
You should also make sure to set an upper limit on variable-length patterns, so they don't cover larger portions of the dataset than needed.
2020

2121
Each Cypher query gets optimized and transformed into an xref::planning-and-tuning/execution-plans.adoc[execution plan] by the Cypher query planner.
2222
To minimize the resources used for this, try to use parameters instead of literals when possible.

modules/ROOT/pages/queries/basic.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,7 @@ LIMIT 5
798798
The quantifier used in the above two examples was introduced with the release of xref::patterns/variable-length-patterns.adoc#quantified-path-patterns[quantified path patterns] in Neo4j 5.9.
799799
Before that, the only way in Cypher to match paths of a variable length was with a variable-length relationship.
800800
This syntax is still available in Cypher, but it is not xref:appendix/gql-conformance/index.adoc[GQL conformant].
801-
For more information, see xref::patterns/reference.adoc#variable-length-relationships[Patterns -> Syntax and semantics -> Variable length relationships].
801+
For more information, see xref::patterns/reference.adoc#variable-length-relationships[Patterns -> Syntax and semantics -> Variable-length relationships].
802802

803803
The xref:patterns/shortest-paths.adoc[`SHORTEST`] keyword can be used to find a variation of the shortest paths between two nodes.
804804
In this example, `ALL SHORTEST` paths between the two nodes `Keanu Reeves` and `Tom Cruise` are found.

0 commit comments

Comments
 (0)