From 704a965216473d4a723c7c28c53f03ebf051825c Mon Sep 17 00:00:00 2001 From: Neil Dewhurst Date: Tue, 1 Nov 2022 08:59:45 +0000 Subject: [PATCH] Change external xrefs to links --- modules/ROOT/pages/discovery.adoc | 2 +- modules/ROOT/pages/introduction.adoc | 6 +++--- modules/ROOT/pages/security/index.adoc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/ROOT/pages/discovery.adoc b/modules/ROOT/pages/discovery.adoc index f99edbc..8c77b60 100644 --- a/modules/ROOT/pages/discovery.adoc +++ b/modules/ROOT/pages/discovery.adoc @@ -7,7 +7,7 @@ The HTTP API uses the port `7474` for HTTP and the port `7473` for HTTPS. [TIP] ==== -See the xref:4.0@operations-manual:ROOT:configuration/ports/index.adoc[Operations Manual -> Ports] for an overview of the Neo4j-specific ports. +See the link:{neo4j-docs-base-uri}/operations-manual/{page-version}/configuration/ports[Operations Manual -> Ports] for an overview of the Neo4j-specific ports. ==== diff --git a/modules/ROOT/pages/introduction.adoc b/modules/ROOT/pages/introduction.adoc index adf559d..8e6798b 100644 --- a/modules/ROOT/pages/introduction.adoc +++ b/modules/ROOT/pages/introduction.adoc @@ -9,7 +9,7 @@ Each HTTP request can include a list of statements, and for convenience you can The server guards against orphaned transactions by using a timeout. If there are no requests for a given transaction within the timeout period, the server will roll it back. -You can configure the timeout in the server configuration, by setting xref:4.0@operations-manual:ROOT:reference/configuration-settings/index.adoc#config_dbms.rest.transaction.idle_timeout[Operations Manual -> Configuration settings `dbms.rest.transaction.idle_timeout`] to the number of seconds before timeout. +You can configure the timeout in the server configuration, by setting link:{neo4j-docs-base-uri}/operations-manual/{page-version}/reference/configuration-settings#config_dbms.rest.transaction.idle_timeout[Operations Manual -> Configuration settings `dbms.rest.transaction.idle_timeout`] to the number of seconds before timeout. The default timeout is `60` seconds. Responses from the HTTP API can be transmitted as JSON streams, resulting in better performance and lower memory overhead on the server side. @@ -18,7 +18,7 @@ To use streaming, supply the header `X-Stream: true` with each request. [NOTE] ==== * Literal line breaks are not allowed inside Cypher statements. -* Cypher queries with `USING PERIODIC COMMIT` (see xref:4.0@cypher-manual:ROOT:query-tuning/using/index.adoc#query-using-periodic-commit-hint[Cypher Manual -> `PERIODIC COMMIT` query hint]) may only be executed when creating a new transaction and immediately committing it with a single HTTP request (see xref::/actions/begin-and-commit-a-transaction-in-one-request.adoc[Begin and commit a transaction in one request] for how to do that). +* Cypher queries with `USING PERIODIC COMMIT` (see link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/query-tuning/using#query-using-periodic-commit-hint[Cypher Manual -> `PERIODIC COMMIT` query hint]) may only be executed when creating a new transaction and immediately committing it with a single HTTP request (see xref::/actions/begin-and-commit-a-transaction-in-one-request.adoc[Begin and commit a transaction in one request] for how to do that). * When a request fails the transaction will be rolled back. By checking the result for the presence/absence of the `transaction` key you can figure out if the transaction is still open. ==== @@ -27,6 +27,6 @@ By checking the result for the presence/absence of the `transaction` key you can ==== In order to speed up queries in repeated scenarios, try not to use literals but replace them with parameters wherever possible. This will let the server cache query plans. -See xref:4.0@cypher-manual:ROOT:syntax/parameters/index.adoc#cypher-parameters[Cypher Manual -> Parameters] for more information. +See link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/syntax/parameters#cypher-parameters[Cypher Manual -> Parameters] for more information. ==== diff --git a/modules/ROOT/pages/security/index.adoc b/modules/ROOT/pages/security/index.adoc index e2d8e24..b79e886 100644 --- a/modules/ROOT/pages/security/index.adoc +++ b/modules/ROOT/pages/security/index.adoc @@ -3,7 +3,7 @@ [[http-api-security]] = Authentication and authorization -Authentication and authorization are enabled by default in Neo4j (refer to xref:4.0@operations-manual:ROOT:authentication-authorization/index.adoc#auth[Operations Manual -> Authentication and authorization]). +Authentication and authorization are enabled by default in Neo4j (refer to link:{neo4j-docs-base-uri}/operations-manual/{page-version}/authentication-authorization#auth[Operations Manual -> Authentication and authorization]). With authentication and authorization enabled, requests to the HTTP API must be authorized using the username and password of a valid user.