File tree Expand file tree Collapse file tree 2 files changed +16
-21
lines changed
modules/ROOT/pages/directives Expand file tree Collapse file tree 2 files changed +16
-21
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ Particularly useful for types that are not correctly pluralized or are non-Engli
112112| Indicates that there should be a uniqueness constraint in the database for the fields that it is applied to.
113113
114114| xref::/directives/indexes-and-constraints.adoc#_vector_index_search[`@vector`]
115- | Perform a vector index search on your database either based by passing in a vector index or a search phrase. label:beta[]
115+ | Perform a vector index search on your database either based by passing in a vector index or a search phrase.
116116
117117|===
118118
@@ -149,4 +149,4 @@ of any required fields that is passed as arguments to the custom resolver.
149149| xref:/integrations/relay-compatibility.adoc[`@relayId`]
150150| Specifies that the field should be used as the global node identifier for Relay.
151151
152- |===
152+ |===
Original file line number Diff line number Diff line change @@ -248,7 +248,6 @@ await neoSchema.assertIndexesAndConstraints();
248248
249249:description: Directives related to generative AI in the Neo4j GraphQL Library.
250250
251- [role=label--beta]
252251== Vector index search
253252
254253With the `@vector` GraphQL directive you can query your database to perform a vector index search.
@@ -331,15 +330,13 @@ This defines the query to be performed on all `Product` nodes which have a vecto
331330----
332331query FindSimilarProducts($vector: [Float]!) {
333332 searchByDescription(vector: $vector) {
334- productsConnection {
335- edges {
336- cursor
337- score
338- node {
339- id
340- name
341- description
342- }
333+ edges {
334+ cursor
335+ score
336+ node {
337+ id
338+ name
339+ description
343340 }
344341 }
345342 }
@@ -415,15 +412,13 @@ This defines the query to be performed on all `Product` nodes which have a vecto
415412----
416413query SearchProductsByPhrase($phrase: String!) {
417414 searchByPhrase(phrase: $phrase) {
418- productsConnection {
419- edges {
420- cursor
421- score
422- node {
423- id
424- name
425- description
426- }
415+ edges {
416+ cursor
417+ score
418+ node {
419+ id
420+ name
421+ description
427422 }
428423 }
429424 }
You can’t perform that action at this time.
0 commit comments