From 84571f74e490a21e72f1cd3ccc73c6694d86954a Mon Sep 17 00:00:00 2001 From: Satia Herfert Date: Thu, 9 Mar 2023 15:33:36 +0100 Subject: [PATCH 1/2] Deprecate `connectComponentsPlanner` --- ...ions-additions-removals-compatibility.adoc | 29 +++++++++++++++++++ .../pages/query-tuning/query-options.adoc | 9 +++++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index f832259e2..52b0a94d3 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -10,6 +10,35 @@ New features are added to the language continuously, and occasionally, some feat This section lists all of the features that have been removed, deprecated, added, or extended in different Cypher versions. Replacement syntax for deprecated and removed features are also indicated. +[[cypher-deprecations-additions-removals-5.7]] +== Version 5.7 + +=== Deprecated features + +[cols="2", options="header"] +|=== +| Feature +| Details + +a| +label:functionality[] +label:deprecated[] +[source, cypher, role="noheader"] +---- +CYPHER connectComponentsPlanner=greedy MATCH (a), (b) RETURN * +---- + +[source, cypher, role="noheader"] +---- +CYPHER connectComponentsPlanner=idp MATCH (a), (b) RETURN * +---- +a| + +The Cypher query option `connectComponentsPlanner` is deprecated. +In a future release, the option will be removed. +After removal, the product will behave as if the option was set to `idp`. +|=== + [[cypher-deprecations-additions-removals-5.6]] == Version 5.6 diff --git a/modules/ROOT/pages/query-tuning/query-options.adoc b/modules/ROOT/pages/query-tuning/query-options.adoc index 4c756d198..ae136c04e 100644 --- a/modules/ROOT/pages/query-tuning/query-options.adoc +++ b/modules/ROOT/pages/query-tuning/query-options.adoc @@ -84,7 +84,7 @@ Using this option can significantly _increase_ the planning time of the query. [[cypher-connect-components-planner]] -== Cypher connect-components planner +== Cypher connect-components planner label:deprecated[] One part of the Cypher planner is responsible for combining sub-plans for separate patterns into larger plans - a task referred to as _connecting components_. @@ -117,6 +117,13 @@ Using this option can significantly _increase_ the planning time of the query bu |=== +[IMPORTANT] +==== +The Cypher query option `connectComponentsPlanner` is deprecated. +In a future release, the option will be removed. +After removal, the product will behave as if the option was set to `idp`. +==== + [[cypher-update-strategy]] == Cypher update strategy From 2b2782d18bec9aa1307c6493f9c9db0a1c584de6 Mon Sep 17 00:00:00 2001 From: Satia Herfert Date: Fri, 17 Mar 2023 10:57:21 +0100 Subject: [PATCH 2/2] Reword deprecation message. --- .../pages/deprecations-additions-removals-compatibility.adoc | 5 ++--- modules/ROOT/pages/query-tuning/query-options.adoc | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc index 52b0a94d3..a199cf61f 100644 --- a/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc +++ b/modules/ROOT/pages/deprecations-additions-removals-compatibility.adoc @@ -34,9 +34,8 @@ CYPHER connectComponentsPlanner=idp MATCH (a), (b) RETURN * ---- a| -The Cypher query option `connectComponentsPlanner` is deprecated. -In a future release, the option will be removed. -After removal, the product will behave as if the option was set to `idp`. +The Cypher query option `connectComponentsPlanner` is deprecated and will be removed without a replacement. +The product's default behavior of using a cost-based IDP search algorithm when combining sub-plans will be kept. |=== [[cypher-deprecations-additions-removals-5.6]] diff --git a/modules/ROOT/pages/query-tuning/query-options.adoc b/modules/ROOT/pages/query-tuning/query-options.adoc index ae136c04e..e075f4f41 100644 --- a/modules/ROOT/pages/query-tuning/query-options.adoc +++ b/modules/ROOT/pages/query-tuning/query-options.adoc @@ -119,9 +119,8 @@ Using this option can significantly _increase_ the planning time of the query bu [IMPORTANT] ==== -The Cypher query option `connectComponentsPlanner` is deprecated. -In a future release, the option will be removed. -After removal, the product will behave as if the option was set to `idp`. +The Cypher query option `connectComponentsPlanner` is deprecated and will be removed without a replacement. +The product's default behavior of using a cost-based IDP search algorithm when combining sub-plans will be kept. ====