You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/directives/indexes-and-constraints.adoc
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,7 @@ Queries are performed by passing in either a vector index or a query phrase.
259
259
260
260
A query by vector index finds nodes with a vector embedding similar to that index.
261
261
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
262
263
263
264
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.
264
265
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.
267
268
.Prerequisites
268
269
====
269
270
* 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.
271
272
* The embeddings must have been created using the same method.
272
273
* Queries by vector index cannot be performed across multiple labels.
273
274
* Queries by phrase require credentials for the Neo4j GenAI plugin.
@@ -303,7 +304,8 @@ input VectorIndexInput {
303
304
}
304
305
----
305
306
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].
0 commit comments