From 57e901ba09b3121c6ea6d30de6cd07ba2c05c2b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jens=20Pryce-=C3=85klundh?= <112686610+JPryce-Aklundh@users.noreply.github.com> Date: Fri, 10 Jan 2025 15:48:06 +0100 Subject: [PATCH] hyphenation --- modules/ROOT/pages/clauses/where.adoc | 2 +- modules/ROOT/pages/patterns/fixed-length-patterns.adoc | 6 +++--- modules/ROOT/pages/patterns/reference.adoc | 6 +++--- modules/ROOT/pages/patterns/variable-length-patterns.adoc | 2 +- modules/ROOT/pages/planning-and-tuning/query-tuning.adoc | 2 +- modules/ROOT/pages/queries/basic.adoc | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/modules/ROOT/pages/clauses/where.adoc b/modules/ROOT/pages/clauses/where.adoc index a021f9c0d..f57792c60 100644 --- a/modules/ROOT/pages/clauses/where.adoc +++ b/modules/ROOT/pages/clauses/where.adoc @@ -793,7 +793,7 @@ RETURN r.since |Rows: 1 |=== -However, it cannot be used inside of variable length relationships, as this would lead to an error. +However, it cannot be used inside of variable-length relationships, as this would lead to an error. For example: .Query diff --git a/modules/ROOT/pages/patterns/fixed-length-patterns.adoc b/modules/ROOT/pages/patterns/fixed-length-patterns.adoc index 78c4056ca..c6ceb9ad1 100644 --- a/modules/ROOT/pages/patterns/fixed-length-patterns.adoc +++ b/modules/ROOT/pages/patterns/fixed-length-patterns.adoc @@ -1,7 +1,7 @@ :description: Information about node, relationship, and path patterns. -= Fixed length patterns += Fixed-length patterns -The most basic form of graph pattern matching in Cypher involves the matching of fixed length patterns. +The most basic form of graph pattern matching in Cypher involves the matching of fixed-length patterns. This includes node patterns, relationship patterns, and path patterns. [[node-patterns]] @@ -123,7 +123,7 @@ See the xref:patterns/reference.adoc#relationship-patterns[relationship patterns == Path patterns Any valid path starts and ends with a node, with relationships between each node (if there is more than one node). -Fixed length path patterns have the same restrictions, and for all valid path patterns the following are true: +Fixed-length path patterns have the same restrictions, and for all valid path patterns the following are true: * They have at least one node pattern. * They begin and end with a node pattern. diff --git a/modules/ROOT/pages/patterns/reference.adoc b/modules/ROOT/pages/patterns/reference.adoc index af68fc22a..04f985752 100644 --- a/modules/ROOT/pages/patterns/reference.adoc +++ b/modules/ROOT/pages/patterns/reference.adoc @@ -717,7 +717,7 @@ MATCH ((x:A)-[:R]->(z:B WHERE z.h > 2)){1,5} RETURN [n in x | n.h] AS x_h, [n in z | n.h] AS z_h ---- -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: +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: [options="header",cols="2* Syntax and semantics -> Variable length relationships]. +For more information, see xref::patterns/reference.adoc#variable-length-relationships[Patterns -> Syntax and semantics -> Variable-length relationships]. The xref:patterns/shortest-paths.adoc[`SHORTEST`] keyword can be used to find a variation of the shortest paths between two nodes. In this example, `ALL SHORTEST` paths between the two nodes `Keanu Reeves` and `Tom Cruise` are found.