Skip to content

Commit 057eca1

Browse files
JPryce-Aklundhlidiazuin
authored andcommitted
Merge 5.6 PRs to 5.x (#480)
1 parent ce4a076 commit 057eca1

10 files changed

+226
-3620
lines changed

modules/ROOT/images/graph_expression_subqueries.svg

Lines changed: 74 additions & 72 deletions
Loading

modules/ROOT/images/privileges_grant_and_deny_syntax_dbms_privileges.svg

Lines changed: 1 addition & 0 deletions
Loading

modules/ROOT/images/privileges_hierarchy_dbms.svg

Lines changed: 1 addition & 0 deletions
Loading

modules/ROOT/pages/access-control/manage-privileges.adoc

Lines changed: 0 additions & 1436 deletions
This file was deleted.

modules/ROOT/pages/access-control/manage-roles.adoc

Lines changed: 0 additions & 816 deletions
This file was deleted.

modules/ROOT/pages/access-control/manage-servers.adoc

Lines changed: 0 additions & 423 deletions
This file was deleted.

modules/ROOT/pages/access-control/manage-users.adoc

Lines changed: 0 additions & 864 deletions
This file was deleted.

modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5747,11 +5747,7 @@ label:new[]
57475747
DROP CONSTRAINT name
57485748
----
57495749
a|
5750-
<<<<<<< HEAD
57515750
xref:constraints/managing-constraints.adoc#drop-constraint[New command] for dropping a constraint by name, no matter the type.
5752-
=======
5753-
xref:constraints/syntax.adoc#constraints-syntax-drop[New command] for dropping a constraint by name, no matter the type.
5754-
>>>>>>> b38c1e9 (Document relationship key and uniqueness constraints (#225))
57555751
57565752
57575753
a|
@@ -5862,13 +5858,8 @@ An example of this is `CALL db.index.explicit.searchNodes('my_index','email:me*'
58625858
| `MATCH (n)-[x:A\|:B\|:C]-() RETURN n` | Syntax | Deprecated | Replaced by `MATCH (n)-[x:A\|B\|C]-() RETURN n`
58635859
| `MATCH (n)-[x:A\|:B\|:C*]-() RETURN n` | Syntax | Deprecated | Replaced by `MATCH (n)-[x:A\|B\|C*]-() RETURN n`
58645860
| link:/docs/java-reference/5/extending-neo4j/aggregation-functions#extending-neo4j-aggregation-functions[User-defined aggregation functions] | Functionality | Added |
5865-
<<<<<<< HEAD
58665861
| xref:indexes/search-performance-indexes/managing-indexes.adoc[Composite indexes] | Index | Added |
58675862
| xref:constraints/managing-constraints.adoc#create-key-constraint[Node Key] | Index | Added | Neo4j Enterprise Edition only
5868-
=======
5869-
| xref:indexes-for-search-performance.adoc[Composite indexes] | Index | Added |
5870-
| xref:constraints/examples.adoc#constraints-examples-node-key[Node Key] | Index | Added | Neo4j Enterprise Edition only
5871-
>>>>>>> b38c1e9 (Document relationship key and uniqueness constraints (#225))
58725863
| `CYPHER runtime=compiled` (Compiled runtime) | Functionality | Added | Neo4j Enterprise Edition only
58735864
| xref:functions/list.adoc#functions-reverse-list[reverse()] | Function | Extended | Now also allows a list as input
58745865
| xref:functions/aggregating.adoc#functions-max[max()], xref:functions/aggregating.adoc#functions-min[min()] | Function | Extended | Now also supports aggregation over a set containing both strings and numbers

modules/ROOT/pages/index.adoc

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
:description: This is the Cypher Query Language documentation for Neo4j, authored by the Neo4j Team.
2+
3+
[[cypher-manual]]
4+
= The Neo4j Cypher Manual v{neo4j-version}
5+
:neo4j-buildnumber: {neo4j-version-minor}
6+
7+
Cypher is Neo4j's graph query language that allows users to store and retrieve data from the graph database.
8+
It is a declarative, SQL-inspired language for describing visual patterns in graphs.
9+
The syntax provides a visual and logical way to match patterns of nodes and relationships in the graph.
10+
11+
12+
== Documentation updates for Neo4j 5
13+
14+
Neo4j {neo4j-version} includes a number of new features and updates.
15+
A highlight of these include:
16+
17+
* Cypher syntax improvements with Graph Pattern Matching (relationships and labels):
18+
+
19+
** In `MATCH` clauses, `WHERE` can be placed inside a relationship pattern to filter relationships.
20+
** In `MATCH` clauses, nodes and relationships can be filtered using more sophisticated label (type) expressions.
21+
** Simpler alternative syntax to navigate and traverse graphs using the following operators:
22+
*** `&`: logical `AND`
23+
*** `|`: logical `OR`
24+
*** `!`: logical `NOT`
25+
*** `%`: a "wildcard", meaning "any label" (in Cypher this translates to `size(labels(n)) > 0`). +
26+
27+
+
28+
For more information, see the xref:syntax/expressions.adoc#label-expressions[section on Label expressions] and in xref:clauses/where.adoc[the `WHERE` clause].
29+
30+
* New `elementID` for graph objects:
31+
+
32+
New IDs are introduced to uniquely identify graph elements in Neo4j databases.
33+
Node ID will exist with each release of Neo4j {neo4j-version}.
34+
+
35+
For more information, see xref:functions/scalar.adoc#functions-elementid[`elementId()`].
36+
37+
* Composite databases.
38+
+
39+
Composite databases allow queries that access multiple graphs at once.
40+
You can create, update, and remove configurations without a restart, whether the database is within the same cluster, or hosted remotely.
41+
+
42+
For more information on composite databases, and how to create composite databases, see link:https://neo4j.com/docs/operations-manual/current/composite-databases/[Operations Manual -> Composite databases], and xref:databases.adoc#administration-databases-create-composite-database[Creating composite databases].
43+
44+
* Immutable privileges.
45+
+
46+
Immutable privileges are useful for restricting the actions of users who themselves are able to administer privileges. +
47+
For more information, see xref:access-control/privileges-immutable.adoc[Immutable privileges].
48+
49+
* `Execute` and `ExecuteBoosted` privilege.
50+
+
51+
The permissions for the execution of admin procedures have been refreshed; these two privileges are now hierarchically related.
52+
+
53+
For more information, see xref:access-control/dbms-administration.adoc#access-control-execute-procedure[the `EXECUTE PROCEDURE` privilege] and xref:access-control/dbms-administration.adoc#access-control-execute-boosted-procedure[the `EXECUTE BOOSTED PROCEDURE` privilege].
54+
55+
* `EXISTS` and `COUNT` are now both expressions.
56+
+
57+
For more information, see xref:syntax/expressions.adoc#cypher-subquery-expressions[Subquery expressions].
58+
59+
* `SHOW` and `TERMINATE TRANSACTIONS` improvements.
60+
+
61+
You can now combine these two commands in the same query.
62+
The ability to yield and filter the output from `TERMINATE TRANSACTIONS` has been added.
63+
+
64+
For more information, see xref:deprecations-additions-removals-compatibility.adoc#_updated_features[Updated features list].
65+
66+
* `SHOW SETTINGS` clause.
67+
+
68+
You can now query configuration settings using `SHOW SETTINGS` clause.
69+
+
70+
For more information, see xref:clauses/listing-settings.adoc[SHOW SETTINGS].
71+
72+
* Changes to Neo4j indexes:
73+
+
74+
** The B-tree index type has been removed.
75+
** New Range and Point index types are available now.
76+
** Faster Text index provider for `ENDS WITH` and `CONTAINS` queries is introduced.
77+
** Full-text indexes can now index lists of strings.
78+
79+
+
80+
For more information, see xref:indexes-for-search-performance.adoc[new index types].
81+
82+
83+
ifdef::backend-html5[(C) {copyright}]
84+
ifndef::backend-pdf[]
85+
86+
Documentation license: link:{common-license-page-uri}[Creative Commons 4.0]
87+
endif::[]
88+
ifdef::backend-pdf[]
89+
(C) {copyright}
90+
91+
Documentation license: <<license, Creative Commons 4.0>>
92+
endif::[]
93+
94+
ifdef::backend-pdf[]
95+
include::license.adoc[leveloffset=+1]
96+
endif::[]
97+
98+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
= Aura and Cypher
2+
3+
== Introduction
4+
5+
Aura is Neo4j's fully managed cloud service.
6+
It consists of AuraDB and AuraDS.
7+
AuraDB is a graph database service for developers building intelligent applications, and AuraDS is a Graph Data Science (GDS) service for data scientists building predictive models and analytics workflows.
8+
9+
AuraDB is available on the following tiers:
10+
11+
* AuraDB Free
12+
* AuraDB Pro
13+
* AuraDB Enterprise
14+
15+
For more information, see link:{neo4j-docs-base-uri}/aura/auradb[Aura docs - Neo4j AuraDB overview].
16+
17+
AuraDS is available on the following tiers:
18+
19+
* AuraDS Pro
20+
* AuraDS Enterprise
21+
22+
For more information, see link:{neo4j-docs-base-uri}/aura/aurads[Aura docs - Neo4j AuraDS overview]
23+
24+
== Using Cypher on Aura
25+
26+
Most Cypher features are available on all tiers of Aura.
27+
There are, however, some features which are not available to Aura instances.
28+
For example, it is not possible to create, alter, or drop databases using Aura, nor is it possible to alter or drop servers.
29+
30+
There are also certain Cypher features which are only available on AuraDB Enterprise instances.
31+
These can be categorized as the role-based access-control features of Cypher.
32+
For example, it is not possible to create, alter, or drop roles using AuraDB Free, AuraDB Pro, AuraDS Pro, or AuraDS Enterprise, but it is possible using AuraDB Enterprise.
33+
34+
The Cypher Manual uses two different labels to differentiate this distinction:
35+
36+
[options="header,cols=""2a,2a"]
37+
|===
38+
| Label | Description
39+
| label:not-on-aura[] | Cypher feature not available on any tier of Aura.
40+
| label:aura-db-enterprise[] | Cypher feature only available on AuraDB Enterprise.
41+
|===
42+
43+
////
44+
TODO: remove comment blocks once Aura Cheat Sheet has been published.
45+
46+
== Aura and the Cypher Cheat Sheet
47+
48+
Each different tier of Aura has a customized version of the Cypher Cheat Sheet which only shows the features of Cypher available for the chosen tier.
49+
50+
The Aura Cheat Sheet can be accessed here: //Add url when available
51+
Note that the default tier is AuraDB Enterprise.
52+
////

0 commit comments

Comments
 (0)