diff --git a/modules/ROOT/pages/directives/index.adoc b/modules/ROOT/pages/directives/index.adoc index 598e951..0bad8f4 100644 --- a/modules/ROOT/pages/directives/index.adoc +++ b/modules/ROOT/pages/directives/index.adoc @@ -112,7 +112,7 @@ Particularly useful for types that are not correctly pluralized or are non-Engli | Indicates that there should be a uniqueness constraint in the database for the fields that it is applied to. | xref::/directives/indexes-and-constraints.adoc#_vector_index_search[`@vector`] -| Perform a vector index search on your database either based by passing in a vector index or a search phrase. label:beta[] +| Perform a vector index search on your database either based by passing in a vector index or a search phrase. |=== @@ -149,4 +149,4 @@ of any required fields that is passed as arguments to the custom resolver. | xref:/integrations/relay-compatibility.adoc[`@relayId`] | Specifies that the field should be used as the global node identifier for Relay. -|=== \ No newline at end of file +|=== diff --git a/modules/ROOT/pages/directives/indexes-and-constraints.adoc b/modules/ROOT/pages/directives/indexes-and-constraints.adoc index 77810f8..d750a1b 100644 --- a/modules/ROOT/pages/directives/indexes-and-constraints.adoc +++ b/modules/ROOT/pages/directives/indexes-and-constraints.adoc @@ -248,7 +248,6 @@ await neoSchema.assertIndexesAndConstraints(); :description: Directives related to generative AI in the Neo4j GraphQL Library. -[role=label--beta] == Vector index search 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 ---- query FindSimilarProducts($vector: [Float]!) { searchByDescription(vector: $vector) { - productsConnection { - edges { - cursor - score - node { - id - name - description - } + edges { + cursor + score + node { + id + name + description } } } @@ -415,15 +412,13 @@ This defines the query to be performed on all `Product` nodes which have a vecto ---- query SearchProductsByPhrase($phrase: String!) { searchByPhrase(phrase: $phrase) { - productsConnection { - edges { - cursor - score - node { - id - name - description - } + edges { + cursor + score + node { + id + name + description } } }