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
Spring Data Neo4j supports Neo4j's vector search on the repository level by using the `@VectorSearch` annotation.
6
+
For this to work, Neo4j needs to have a vector index in place.
7
+
How to create a vector index is explained in the https://neo4j.com/docs/cypher-manual/current/indexes/search-performance-indexes/managing-indexes/[Neo4j documentation].
8
+
9
+
NOTE: It's not required to have any (Spring Data) Vector typed property be defined in the domain entities for this to work
10
+
because the search operates exclusively on the index.
11
+
12
+
The `@VectorSearch` annotation requires two arguments:
13
+
The name of the vector index to be used and the number of nearest neighbours.
14
+
15
+
For a general vector search over the whole domain, it's possible to use a derived finder method without any property.
0 commit comments