Skip to content

Commit f734cd8

Browse files
committed
added two links
1 parent 6c953df commit f734cd8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

modules/ROOT/pages/directives/indexes-and-constraints.adoc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ Queries are performed by passing in either a vector index or a query phrase.
259259

260260
A query by vector index finds nodes with a vector embedding similar to that index.
261261
That is, the query performs a nearest neighbor search.
262+
Refer to link:https://neo4j.com/docs/cypher-manual/current/indexes/semantic-indexes/vector-indexes/#query-vector-index[Query vector indexes] for the
262263

263264
In contrast, a query by phrase (a string of text) forwards the phrase to the link:https://neo4j.com/docs/cypher-manual/current/genai-integrations/[Neo4j GenAI plugin] and the plugin generates a vector embedding for it.
264265
This embedding is then compared to the node vector embeddings in the database.
@@ -267,7 +268,7 @@ This embedding is then compared to the node vector embeddings in the database.
267268
.Prerequisites
268269
====
269270
* The database must be Neo4j version 5.15 or higher.
270-
* The node vector embeddings already exist in the database.
271+
* The node vector embeddings already exist in the database. See link:https://neo4j.com/docs/cypher-manual/current/indexes/semantic-indexes/vector-indexes/[Vector indexes] to learn more about vector indexes in Cypher and Neo4j.
271272
* The embeddings must have been created using the same method.
272273
* Queries by vector index cannot be performed across multiple labels.
273274
* Queries by phrase require credentials for the Neo4j GenAI plugin.
@@ -303,7 +304,8 @@ input VectorIndexInput {
303304
}
304305
----
305306

306-
If the optional field `provider` is set, the type is used for a query by phrase, otherwise for a query by vector index.
307+
If the optional field `provider` is set, the type is used for a query by phrase, otherwise for a query by vector index.
308+
Allowed values for the `provider` field are defined by the available link:https://neo4j.com/docs/cypher-manual/current/indexes/semantic-indexes/vector-indexes/[GenAI providers].
307309

308310
=== Usage
309311

0 commit comments

Comments
 (0)