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
@@ -149,4 +149,4 @@ of any required fields that is passed as arguments to the custom resolver.
149
149
| xref:/integrations/relay-compatibility.adoc[`@relayId`]
150
150
| Specifies that the field should be used as the global node identifier for Relay.
151
151
152
- |===
152
+ |===
Original file line number Diff line number Diff line change @@ -248,7 +248,6 @@ await neoSchema.assertIndexesAndConstraints();
248
248
249
249
:description: Directives related to generative AI in the Neo4j GraphQL Library.
250
250
251
- [role=label--beta]
252
251
== Vector index search
253
252
254
253
With 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
331
330
----
332
331
query FindSimilarProducts($vector: [Float]!) {
333
332
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
343
340
}
344
341
}
345
342
}
@@ -415,15 +412,13 @@ This defines the query to be performed on all `Product` nodes which have a vecto
415
412
----
416
413
query SearchProductsByPhrase($phrase: String!) {
417
414
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
427
422
}
428
423
}
429
424
}
You can’t perform that action at this time.
0 commit comments