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
@@ -160,4 +160,4 @@ of any required fields that is passed as arguments to the custom resolver.
160160| xref:/integrations/relay-compatibility.adoc[`@relayId`]
161161| Specifies that the field should be used as the global node identifier for Relay.
162162
163- |===
163+ |===
Original file line number Diff line number Diff line change @@ -251,7 +251,6 @@ await neoSchema.assertIndexesAndConstraints({ options: { create: true }});
251251
252252:description: Directives related to generative AI in the Neo4j GraphQL Library.
253253
254- [role=label--beta]
255254== Vector index search
256255
257256With 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
334333---- 
335334query FindSimilarProducts($vector: [Float]!) { 
336335  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 
346343      } 
347344    } 
348345  } 
@@ -418,15 +415,13 @@ This defines the query to be performed on all `Product` nodes which have a vecto
418415---- 
419416query SearchProductsByPhrase($phrase: String!) { 
420417  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 
430425      } 
431426    } 
432427  } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments