Skip to content

Commit 048acfe

Browse files
committed
fixes for the test failures
1 parent 1ee4a45 commit 048acfe

File tree

1 file changed

+47
-18
lines changed

1 file changed

+47
-18
lines changed

modules/ROOT/pages/procedures.adoc

Lines changed: 47 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -213,15 +213,15 @@ For more information, see the link:{neo4j-docs-base-uri}/cdc/{page-version}/[CDC
213213
| *Replaced by* 3+| xref:procedures.adoc#db_cdc_earliest[`db.cdc.earliest()`]
214214
|===
215215

216-
[role=label--enterprise-edition label--new-5.13 label--beta label--deprecated-5.17]
216+
[role=label--enterprise-edition label--new-5.13 label--beta label--deprecated-5.17 label--admin-only]
217217
[[procedure_cdc_query]]
218218
=== cdc.query()
219219

220220

221221
.Details
222222
|===
223223
| *Syntax* 3+m| cdc.query([ from selectors ]) :: (id, txId, seq, metadata, event)
224-
| *Description* 3+a| Query changes that happened from the provided change identifier.
224+
| *Description* 3+a| Query changes happened from the provided change identifier.
225225
.3+| *Input arguments* | *Name* | *Type* | *Description*
226226
| `from` | `STRING` | The change identifier to query changes from.
227227
| `selectors` | `LIST<MAP>` | An optional list of selectors to filter out changes.
@@ -334,6 +334,19 @@ Since Neo4j 5.23, it can be run with the `SERVER MANAGEMENT` privilege.
334334
It will still run with the `Admin` privilege, but that should be considered deprecated.
335335
====
336336

337+
[[procedure_dbms_cluster_movetonextdiscoveryversion]]
338+
[role=label--enterprise-edition label--new-5.26 label--admin-only ]
339+
.dbms.cluster.moveToNextDiscoveryVersion()
340+
[cols="<15s,<85"]
341+
|===
342+
| Description
343+
a| The procedure triggers a switch to the next discovery service version for all known members of the cluster (as listed in the system database and discovery).
344+
For example, if the current member's discovery version is V1_ONLY, it will switch all members to V1_OVER_V2. In case of failure, the user must manually resolve the issue.
345+
| Signature
346+
m| dbms.cluster.moveToNextDiscoveryVersion()
347+
| Mode
348+
m|DBMS
349+
|===
337350

338351
[role=label--enterprise-edition label--new-5.23]
339352
[[procedure_dbms_cluster_deallocateDatabaseFromServer]]
@@ -644,19 +657,6 @@ It will still run with the `Admin` privilege, but that should be considered depr
644657
|===
645658

646659

647-
[role=label--enterprise-edition label--new-5.26 label--admin-only ]
648-
[[procedure_dbms_cluster_movetonextdiscoveryversion]]
649-
=== dbms.cluster.moveToNextDiscoveryVersion()
650-
651-
.Details
652-
|===
653-
| *Syntax* 3+m| dbms.cluster.moveToNextDiscoveryVersion()
654-
| *Description* 3+a| The procedure triggers a switch to the next discovery service version for all known members of the cluster (as listed in the system database and discovery).
655-
For example, if the current member's discovery version is V1_ONLY, it will switch all members to V1_OVER_V2. In case of failure, the user must manually resolve the issue.
656-
| *Mode* 3+| DBMS
657-
|===
658-
659-
660660
[role=label--enterprise-edition label--new-5.24 label--admin-only]
661661
[[procedure_dbms_cluster_statusCheck]]
662662
=== dbms.cluster.statusCheck()
@@ -1280,6 +1280,29 @@ Use the `db.index.vector.queryNodes` procedure to query the named index.
12801280
As of Neo4j 5.15, vector indexes can be created with the Cypher Command `CREATE VECTOR INDEX`.
12811281
For more information, see the link:{neo4j-docs-base-uri}/cypher-manual/{page-version}/indexes/semantic-indexes/vector-indexes/#create-vector-index[Cypher Manual -> Create a vector index].
12821282

1283+
[role=label--new-5.18]
1284+
[[procedure_db_index_vector_createrelationshipindex]]
1285+
1286+
=== db.index.vector.queryNodes()
1287+
1288+
1289+
.Details
1290+
|===
1291+
| *Syntax* 3+m| db.index.vector.queryNodes(indexName, numberOfNearestNeighbours, query) :: (node, score)
1292+
| *Description* 3+a| Query the given node vector index.
1293+
Returns requested number of nearest neighbors to the provided query vector, and their similarity score to that query vector, based on the configured similarity function for the index.
1294+
The similarity score is a value between [0, 1]; where 0 indicates least similar, 1 most similar.
1295+
1296+
.4+| *Input arguments* | *Name* | *Type* | *Description*
1297+
| `indexName` | `STRING` | The name of the vector index.
1298+
| `numberOfNearestNeighbours` | `INTEGER` | The size of the vector neighbourhood.
1299+
| `query` | `ANY` | The object to find approximate matches for.
1300+
.3+| *Return arguments* | *Name* | *Type* | *Description*
1301+
| `node` | `NODE` | A node which contains a vector property similar to the query object.
1302+
| `score` | `FLOAT` | The score measuring how similar the node property is to the query object.
1303+
| *Mode* 3+| READ
1304+
|===
1305+
12831306
[role=label--new-5.18]
12841307
[[procedure_db_index_vector_queryrelationships]]
12851308
=== db.index.vector.queryRelationships()
@@ -1312,7 +1335,13 @@ The similarity score is a value between [0, 1]; where 0 indicates least similar,
13121335
.Details
13131336
|===
13141337
| *Syntax* 3+m| genai.vector.encodeBatch(resources, provider, configuration) :: (index, resource, vector)
1315-
| *Description* 3+a| Generate several vector embeddings with a single API request.
1338+
| *Description* 3+a| Encode a given batch of resources as vectors using the named provider.
1339+
For each element in the given resource LIST this returns:
1340+
1341+
* the corresponding 'index' within that LIST,
1342+
* the original 'resource' element itself,
1343+
* and the encoded 'vector'.
1344+
13161345
.4+| *Input arguments* | *Name* | *Type* | *Description*
13171346
| `resources` | `LIST<STRING>` | The object to transform into an embedding.
13181347
| `provider` | `STRING` | The GenAI provider to use.
@@ -1341,7 +1370,7 @@ The types are still enforced as `LIST<INTEGER | FLOAT>`.
13411370
.Details
13421371
|===
13431372
| *Syntax* 3+m| genai.vector.listEncodingProviders() :: (name, requiredConfigType, otionalConfigType, defaultConfig)
1344-
| *Description* 3+a| List the available GenAI providers.
1373+
| *Description* 3+a| Lists the available vector embedding providers.
13451374
.5+| *Return arguments* | *Name* | *Type* | *Description*
13461375
| `name` | `STRING` | The name of the GenAI provider.
13471376
| `requiredConfigType` | `STRING` | The signature of the required config map.
@@ -1402,7 +1431,7 @@ For more information, see the link:{neo4j-docs-base-uri}/cypher-manual/{page-ver
14021431

14031432

14041433
[[procedure_db_index_fulltext_awaiteventuallyconsistentindexrefresh]]
1405-
=== db.index.fulltext.waitEventuallyConsistentIndexRefresh()
1434+
=== db.index.fulltext.awaitEventuallyConsistentIndexRefresh()
14061435

14071436

14081437
.Details

0 commit comments

Comments
 (0)