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
112
112
| Indicates that there should be a uniqueness constraint in the database for the fields that it is applied to.
113
113
114
114
| 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.
116
116
117
117
|===
118
118
@@ -160,4 +160,4 @@ of any required fields that is passed as arguments to the custom resolver.
160
160
| xref:/integrations/relay-compatibility.adoc[`@relayId`]
161
161
| Specifies that the field should be used as the global node identifier for Relay.
162
162
163
- |===
163
+ |===
Original file line number Diff line number Diff line change @@ -251,7 +251,6 @@ await neoSchema.assertIndexesAndConstraints({ options: { create: true }});
251
251
252
252
:description: Directives related to generative AI in the Neo4j GraphQL Library.
253
253
254
- [role=label--beta]
255
254
== Vector index search
256
255
257
256
With the `@vector` GraphQL directive you can query your database to perform a vector index search.
@@ -334,15 +333,13 @@ This defines the query to be performed on all `Product` nodes which have a vecto
334
333
----
335
334
query FindSimilarProducts($vector: [Float]!) {
336
335
searchByDescription(vector: $vector) {
337
- productsConnection {
338
- edges {
339
- cursor
340
- score
341
- node {
342
- id
343
- name
344
- description
345
- }
336
+ edges {
337
+ cursor
338
+ score
339
+ node {
340
+ id
341
+ name
342
+ description
346
343
}
347
344
}
348
345
}
@@ -418,15 +415,13 @@ This defines the query to be performed on all `Product` nodes which have a vecto
418
415
----
419
416
query SearchProductsByPhrase($phrase: String!) {
420
417
searchByPhrase(phrase: $phrase) {
421
- productsConnection {
422
- edges {
423
- cursor
424
- score
425
- node {
426
- id
427
- name
428
- description
429
- }
418
+ edges {
419
+ cursor
420
+ score
421
+ node {
422
+ id
423
+ name
424
+ description
430
425
}
431
426
}
432
427
}
You can’t perform that action at this time.
0 commit comments