Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ These codes order the features in the table below.
| * Feature GD01 implies compliance with GQL feature GT01, "Explicit transaction commands", which states that conforming languages shall contain the following transaction control commands: `START TRANSACTION`, `ROLLBACK`, and `COMMIT`.
These are not present in Cypher.
However, Neo4j offers transaction management through the link:{neo4j-docs-base-uri}/create-applications[driver] transaction API.
Cypher Shell also offers specific link:{neo4j-docs-base-uri}/operations-manual/current/tools/cypher-shell/#cypher-shell-commands[commands] to manage transactions.
Cypher Shell also offers specific link:{neo4j-docs-base-uri}/operations-manual/current/cypher-shell/#cypher-shell-commands[commands] to manage transactions.
* Feature GD01 implies conformance to GQL's `<set-statement>` (subclause 13.3).
GQL’s `SET` has no order dependencies because all right-hand side operations are completed before any assignments occur.
However, In Cypher’s `SET`, the order of rows can affect the outcome because changes made during execution may depend on the sequence of assignments.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Neo4j offers session management through the link:{neo4j-docs-base-uri}/create-ap
| GQL defines the following transaction commands: `START TRANSACTION`, `COMMIT`, and `ROLLBACK`.

Neo4j offers transaction management through the link:{neo4j-docs-base-uri}/create-applications[driver] transaction API.
Cypher Shell also offers specific link:{neo4j-docs-base-uri}/operations-manual/current/tools/cypher-shell/#cypher-shell-commands[commands] to manage transactions.
Cypher Shell also offers specific link:{neo4j-docs-base-uri}/operations-manual/current/cypher-shell/#cypher-shell-commands[commands] to manage transactions.

| 11.1
| Graph expressions
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/delete.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ Deleted 1 node, deleted 1 relationship
[NOTE]
====
The `DETACH DELETE` clause may not be permitted to users with restricted security privileges.
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/authentication-authorization/access-control#detach-delete-restricted-user[Operations Manual -> Fine-grained access control].
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/tutorial/access-control/#detach-delete-restricted-user[Operations Manual -> Fine-grained access control].
====


Expand Down
8 changes: 4 additions & 4 deletions modules/ROOT/pages/clauses/load-csv.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ Added 4 nodes, Set 8 properties, Added 4 labels
====

[NOTE]
For ways of importing data into an Aura instance, see link:https://neo4j.com/docs/aura/auradb/importing/importing-data/[Aura -> Importing data].
For ways of importing data into an Aura instance, see link:https://neo4j.com/docs/aura/classic/auradb/importing/importing-data/[Aura -> Importing data].

[TIP]
When using `+file:///+` URLs, spaces and other non-alphanumeric characters must be link:https://developer.mozilla.org/en-US/docs/Glossary/percent-encoding[URL-encoded].
When using `+file:///+` URLs, spaces and other non-alphanumeric characters must be link:https://developer.mozilla.org/en-US/docs/Glossary/Percent-encoding[URL-encoded].


==== Configuration settings for file URLs
Expand Down Expand Up @@ -368,7 +368,7 @@ You can't load zipped CSV files from remote URLs.
=== Import data from relational databases

If the source data comes from a relational model, it's worth evaluating how to gain the most from moving to a graph data model.
Before running the import, think about how the data can be modeled as a graph, and adapt its structure accordingly when running the import (see link:https://neo4j.com/docs/getting-started/data-modeling/guide-data-modeling/[Graph data modeling]).
Before running the import, think about how the data can be modeled as a graph, and adapt its structure accordingly when running the import (see link:https://neo4j.com/docs/getting-started/data-modeling/tutorial-data-modeling/[Graph data modeling]).

Data from relational databases may consist of one or multiple CSV files, depending on the source database structure.
A performant approach is to run multiple passes of `LOAD CSV` to import nodes separately from relationships.
Expand Down Expand Up @@ -1166,7 +1166,7 @@ With increasing amounts of data, it is more efficient to create _all_ nodes firs

There are a few other tools to get CSV data into Neo4j.

1. *The link:{neo4j-docs-base-uri}/operations-manual/current/tools/neo4j-admin/neo4j-admin-import/[`neo4j-admin database import`] command* is the most efficient way of importing large CSV files.
1. *The link:{neo4j-docs-base-uri}/operations-manual/current/import/[`neo4j-admin database import`] command* is the most efficient way of importing large CSV files.
2. Use a link:https://neo4j.com/docs/create-applications/[*language library*] to parse CSV data and run creation Cypher queries against a Neo4j database.
Created as an extension library to provide common procedures and functions to developers.
This library is especially helpful for complex transformations and data manipulations.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/functions/aggregating.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Aggregation can be computed over all the matching paths, or it can be further di

[TIP]
====
To learn more about how Cypher handles aggregations performed on zero rows, refer to link:https://neo4j.com/developer/kb/understanding-aggregations-on-zero-rows//[Neo4j Knowledge Base -> Understanding aggregations on zero rows].
To learn more about how Cypher handles aggregations performed on zero rows, refer to link:https://neo4j.com/developer/kb/understanding-aggregations-on-zero-rows/[Neo4j Knowledge Base -> Understanding aggregations on zero rows].
====

== Example graph
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/functions/graph.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

.Considerations
|===
| `graph.names()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/composite-databases[composite databases].
| `graph.names()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases].
|===

.+graph.names()+
Expand Down Expand Up @@ -71,7 +71,7 @@ The names of all graphs on the current composite database are returned.

.Considerations
|===
| `graph.propertiesByName()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/composite-databases[composite databases].
| `graph.propertiesByName()` is only supported on link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases].
| The properties in the returned `MAP` are set on the link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/aliases/manage-aliases-standard-databases/[alias]that adds the graph as a constituent of a composite database.
|===

Expand Down
6 changes: 3 additions & 3 deletions modules/ROOT/pages/genai-integrations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ The graph contains 28863 nodes and 332522 relationships.
There are 9083 `Movie` nodes with a `plot` and `title` property.

To recreate the graph, download and import this link:https://github.com/neo4j-graph-examples/recommendations/raw/main/data/recommendations-embeddings-50.dump[dump file] to an empty Neo4j database.
Dump files can be imported for both link:{neo4j-docs-base-uri}/aura/auradb/importing/import-database/[Aura] and link:{neo4j-docs-base-uri}/operations-manual/current/backup-restore/restore-dump/[on-prem] instances.
Dump files can be imported for both link:{neo4j-docs-base-uri}/aura/classic/auradb/importing/import-database/[Aura] and link:{neo4j-docs-base-uri}/operations-manual/current/backup-restore/restore-dump/[on-prem] instances.

[NOTE]
The embeddings on this are generated using link:https://platform.openai.com/docs/guides/embeddings[OpenAI] (model `text-embedding-ada-002`), producing 1536-dimensional vectors.
Expand Down Expand Up @@ -217,7 +217,7 @@ Each provider has its own configuration map that can be passed to `genai.vector.
=== Vertex AI

* Identifier (`provider` argument): `"VertexAI"`
* https://cloud.google.com/vertex-ai/docs/generative-ai/embeddings/get-text-embeddings[Official Vertex AI documentation]
* https://cloud.google.com/vertex-ai/generative-ai/docs/embeddings/get-text-embeddings[Official Vertex AI documentation]

.Vertex AI provider details
[%collapsible]
Expand Down Expand Up @@ -342,7 +342,7 @@ Supported values: +
=== Azure OpenAI

* Identifier (`provider` argument): `"AzureOpenAI"`
* https://learn.microsoft.com/en-us/azure/ai-services/openai/[Official Azure OpenAI documentation]
* https://learn.microsoft.com/en-us/azure/ai-foundry/[Official Azure OpenAI documentation]

[NOTE]
Unlike the other providers, the model is configured when creating the deployment on Azure, and is thus not part of the configuration map.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ image::using-indexes-example-graph.svg[Graph showing two nodes being connected v
In total, the graph contains 69165 nodes (of which 188 have the label `PointOfInterest`) and 152077 `ROUTE` relationships.

To recreate the graph, download and import the link:https://github.com/neo4j-graph-examples/openstreetmap/raw/main/data/openstreetmap-50.dump[5.0 dump file] to an empty Neo4j database.
Dump files can be imported for both link:{neo4j-docs-base-uri}/aura/auradb/importing/import-database/[Aura] and link:{neo4j-docs-base-uri}/operations-manual/current/backup-restore/restore-dump/[on-prem] instances.
Dump files can be imported for both link:{neo4j-docs-base-uri}/aura/classic/auradb/importing/import-database/[Aura] and link:{neo4j-docs-base-uri}/operations-manual/current/backup-restore/restore-dump/[on-prem] instances.

[[token-lookup-indexes]]
== Token lookup indexes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ The procedures for full-text indexes are listed in the table below:
* Full-text indexes can be queried using the Lucene query language.
* Full-text indexes are kept up to date automatically, as nodes and relationships are added, removed, and modified.
* Full-text indexes will automatically populate newly created indexes with the existing data in a store.
* Full-text indexes can be checked by the link:{neo4j-docs-base-uri}/operations-manual/current/tools/neo4j-admin/consistency-checker[consistency checker], and they can be rebuilt if there is a problem with them.
* Full-text indexes can be checked by the link:{neo4j-docs-base-uri}/operations-manual/current/backup-restore/consistency-checker/[consistency checker], and they can be rebuilt if there is a problem with them.
* Newly created full-text indexes get automatically populated with the existing data in the database.
* Full-text indexes can support any number of properties in a single index.
* Full-text indexes are created, dropped, and updated transactionally, and are automatically replicated throughout a cluster.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The following resources provide hands-on tutorials for working with LLMs and vec
* link:https://neo4j.com/docs/genai/tutorials/embeddings-vector-indexes/[GenAI documentation -> Embeddings & Vector Indexes Tutorial]

Neo4j vector indexes are powered by the link:https://lucene.apache.org/[Apache Lucene] indexing and search library.footnote:[Lucene implements a Hierarchical Navigable Small World (HNSW) Graph to perform a k approximate nearest neighbors (k-ANN) query over the vector fields.
For more information, see link:http://dx.doi.org/10.1109/TPAMI.2018.2889473[Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs] -- Yury A. Malkov and Dmitry A. Yashunin]
For more information, see link:https://ieeexplore.ieee.org/document/8594636/[Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs] -- Yury A. Malkov and Dmitry A. Yashunin]

[[example-graph]]
== Example graph
Expand All @@ -27,7 +27,7 @@ image::vector-index-graph.svg[Graph example connecting movie to person nodes via
The graph contains 28863 nodes and 332522 relationships.

To recreate the graph, download and import this link:https://github.com/neo4j-graph-examples/recommendations/raw/main/data/recommendations-embeddings-50.dump[dump file] to an empty Neo4j database.
Dump files can be imported for both link:{neo4j-docs-base-uri}/aura/auradb/importing/import-database/[Aura] and link:{neo4j-docs-base-uri}/operations-manual/current/backup-restore/restore-dump/[on-prem] instances.
Dump files can be imported for both link:{neo4j-docs-base-uri}/aura/classic/auradb/importing/import-database/[Aura] and link:{neo4j-docs-base-uri}/operations-manual/current/backup-restore/restore-dump/[on-prem] instances.

[NOTE]
The dump file used to load the dataset contains embeddings generated by https://openai.com/[OpenAI], using the model `text-embedding-ada-002`.
Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/introduction/cypher-aura.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ AuraDB is available on the following tiers:
* AuraDB Business Critical
* AuraDB Virtual Dedicated Cloud

For more information, see link:{neo4j-docs-base-uri}/aura/auradb[Aura docs - Neo4j AuraDB overview].
For more information, see link:{neo4j-docs-base-uri}/aura/classic/auradb/[Aura docs - Neo4j AuraDB overview].

AuraDS is available on the following tiers:

Expand All @@ -26,7 +26,7 @@ AuraDS is available on the following tiers:
* AuraDS Professional
* AuraDS Enterprise

For more information, see link:{neo4j-docs-base-uri}/aura/aurads[Aura docs - Neo4j AuraDS overview].
For more information, see link:{neo4j-docs-base-uri}/aura/classic/aurads/[Aura docs - Neo4j AuraDS overview].

== Using Cypher on Aura

Expand Down
4 changes: 2 additions & 2 deletions modules/ROOT/pages/introduction/cypher-neo4j.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Normally there is only one graph within each database, and many administrative c
Cypher queries executed in a session may declare which graph they apply to, or use a default, given by the session.
Composite databases can contain multiple graphs, by means of aliases to other databases.
Queries submitted to composite databases may refer to multiple graphs within the same query.
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/composite-databases/[Operations manual -> Composite databases].
For more information, see link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[Operations manual -> Composite databases].

*Database*:: A database is a storage and retrieval mechanism for collecting data in a defined space on disk and in memory.

Expand Down Expand Up @@ -121,7 +121,7 @@ For examples of the API, or the commands used to start and commit transactions,
* For information on using transactions with a Neo4j driver, see _The session API_ in the link:{docs-base-uri}[Neo4j Driver manuals].
* For information on using transactions over the HTTP API, see the link:{neo4j-docs-base-uri}/http-api/current/transactions[HTTP API documentation -> Run transactions].
* For information on using transactions within the embedded Core API, see the link:{neo4j-docs-base-uri}/java-reference/current/java-embedded/cypher-java/[Java Reference -> Cypher queries].
* For information on using transactions within the Neo4j Browser or Cypher-shell, see the link:{neo4j-docs-base-uri}/browser-manual/current/reference-commands/[Neo4j Browser documentation] or the link:{neo4j-docs-base-uri}/operations-manual/current/tools/cypher-shell/#cypher-shell-commands[Cypher-shell documentation].
* For information on using transactions within the Neo4j Browser or Cypher-shell, see the link:{neo4j-docs-base-uri}/browser-manual/current/reference-commands/[Neo4j Browser documentation] or the link:{neo4j-docs-base-uri}/operations-manual/current/cypher-shell/#cypher-shell-commands[Cypher-shell documentation].

When writing procedures or using Neo4j embedded, remember that all iterators returned from an execution result should be either fully exhausted or closed.
This ensures that the resources bound to them are properly released.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/introduction/cypher-overview.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,4 @@ RETURN actor.name
Neo4j supports the APOC (Awesome Procedures on Cypher) Core library.
The APOC Core library provides access to user-defined procedures and functions which extend the use of the Cypher query language into areas such as data integration, graph algorithms, and data conversion.

For more details, visit the link:{neo4j-docs-base-uri}/apoc/current[APOC Core page].
For more details, visit the link:{neo4j-docs-base-uri}/apoc/current/[APOC Core page].
4 changes: 2 additions & 2 deletions modules/ROOT/pages/planning-and-tuning/execution-plans.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ MATCH (:Station { name: 'Denmark Hill' })<-[:CALLS_AT]-(d:Stop)
RETURN count(*)
----

This is the resulting execution planfootnote:[The format of the execution plans displayed in this section are those generated when using link:{neo4j-docs-base-uri}/operations-manual/current/tools/cypher-shell[Cypher Shell].
The execution plans generated by link:{neo4j-docs-base-uri}/browser-manual/current[Neo4j Browser] use a different format.]:
This is the resulting execution planfootnote:[The format of the execution plans displayed in this section are those generated when using link:{neo4j-docs-base-uri}/operations-manual/current/cypher-shell/[Cypher Shell].
The execution plans generated by link:{neo4j-docs-base-uri}/browser-manual/current/[Neo4j Browser] use a different format.]:

[role="queryplan"]
----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ For a full list of all available Cypher write clauses, see the xref:clauses/inde

It is not possible to use the parallel runtime if a change has been made to the state of a transaction.

For example, the following transaction (initiated on link:{neo4j-docs-base-uri}/operations-manual/current/tools/cypher-shell[Cypher Shell]) will be rolled back, because executing a Cypher query will make changes to the state of a transaction.
For example, the following transaction (initiated on link:{neo4j-docs-base-uri}/operations-manual/current/cypher-shell/[Cypher Shell]) will be rolled back, because executing a Cypher query will make changes to the state of a transaction.

.Step 1: Initiate a new transaction and change its state by creating a node
[source, cypher, role=test-skip]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ For larger data sets, you might want to use larger batch sizes, such as `10000 R
[[composite-databases]]
== Composite databases

`CALL { ... } IN TRANSACTIONS` can be used with link:{neo4j-docs-base-uri}/operations-manual/current/composite-databases[composite databases].
`CALL { ... } IN TRANSACTIONS` can be used with link:{neo4j-docs-base-uri}/operations-manual/current/database-administration/composite-databases/concepts/[composite databases].

Even though composite databases allow accessing multiple graphs in a single query, only one graph can be modified in a single transaction.
`CALL { ... } IN TRANSACTIONS` offers a way of constructing queries which modify multiple graphs.
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/syntax/parameters.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Setting parameters when running a query is dependent on the client environment.
For example:

* To set a parameter in Cypher Shell use `+:param name => 'Joe'+`.
For more information refer to link:{neo4j-docs-base-uri}/operations-manual/current/tools/cypher-shell#cypher-shell-parameters[Operations Manual -> Cypher Shell - Query Parameters].
For more information refer to link:{neo4j-docs-base-uri}/operations-manual/current/cypher-shell/#cypher-shell-parameters[Operations Manual -> Cypher Shell - Query Parameters].
* For Neo4j Browser use the same syntax as Cypher Shell, `+:param name => 'Joe'+`.
* When using drivers, the syntax is dependent on the language choice.
See the examples in _Transactions_ in the link:{docs-base-uri}[Neo4j Driver manuals].
Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/values-and-types/maps.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For information about how the `[]` operator behaves with respect to `null`, see
== Literal maps

The key names in a map must be literals.
If returned through an link:{neo4j-docs-base-uri}/http-api/current[HTTP API call], a JSON object will be returned.
If returned through an link:{neo4j-docs-base-uri}/http-api/current/[HTTP API call], a JSON object will be returned.
If returned in Java, an object of type `java.util.Map<String,Object>` will be returned.


Expand Down