Skip to content

Commit 04442b4

Browse files
cypher 5 specific procedure formatting
1 parent d1ad311 commit 04442b4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

modules/ROOT/pages/indexes/semantic-indexes/vector-indexes.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ In this example, the vector dimension is explicitly set to `1536` and the vector
110110
To read more about the available similarity functions, see xref:indexes/semantic-indexes/vector-indexes.adoc#similarity-functions[].
111111

112112
[NOTE]
113-
Prior to Neo4j 5.15, node vector indexes were created using the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex`] procedure.
113+
Prior to Neo4j 5.15, node vector indexes were created using the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex()`] procedure.
114114

115115
You can also create a vector index for relationships with a particular type on a given property using the following syntax:
116116

@@ -240,7 +240,7 @@ Note that all movies returned have a plot centred around criminal family organiz
240240
The `score` results are returned in _descending order_, where the best matching result entry is put first (in this case, `The Godfather` has a similarity score of `1.0`, which is to be expected as the index was queried with this specific property).
241241
If the query vector itself is not wanted, adding the predicate `WHERE score < 1` removes identical vectors.
242242

243-
To query a relationship vector index, use the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryRelationships[`db.index.vector.queryRelationships`] procedure.
243+
To query a relationship vector index, use the link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryRelationships[`db.index.vector.queryRelationships()`] procedure.
244244

245245
.Signature for `db.index.vector.queryRelationships()` label:new[Introduced in 5.18]
246246
[source,syntax]
@@ -483,7 +483,7 @@ image::euclidean_similarity_equation.svg["The Euclidean of vector v and vector u
483483
| Usage | Procedure | Description
484484

485485
| Create node vector index.
486-
| link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex`]
486+
| link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex()`]
487487
| Create a vector index for the specified label and property with the given vector dimension using the given similarity function.
488488
Replaced by the `CREATE VECTOR INDEX` command.
489489

@@ -564,7 +564,7 @@ The types are still enforced as `LIST<INTEGER \| FLOAT>`.
564564

565565
[TIP]
566566
--
567-
Use the procedure `db.index.vector.createNodeIndex` to create the a vector index.
567+
Use the procedure `db.index.vector.createNodeIndex()` to create the a vector index.
568568
Procedure signature:
569569
[source,syntax,role="noheader"]
570570
----
@@ -611,9 +611,9 @@ To work around this issue if you need to run multiple vector index queries and m
611611

612612
| xref:clauses/listing-procedures.adoc[`SHOW PROCEDURES`] does not show the vector index procedures:
613613

614-
* link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_create_setVectorProperty[`db.create.setVectorProperty`]
615-
* link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex`]
616-
* link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryNodes[`db.index.vector.queryNodes`]
614+
* link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_create_setVectorProperty[`db.create.setVectorProperty()`]
615+
* link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_createNodeIndex[`db.index.vector.createNodeIndex()`]
616+
* link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryNodes[`db.index.vector.queryNodes()`]
617617

618618
[NOTE]
619619
--
@@ -636,7 +636,7 @@ d| The validation for xref:indexes/semantic-indexes/vector-indexes.adoc#similari
636636
This can lead to certain large component vectors being incorrectly indexed, and return a similarity score of `&plusmn;0.0`.
637637
| Neo4j 5.12
638638

639-
| link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryNodes[`db.index.vector.queryNodes`] query vector validation is incorrect with a xref:indexes/semantic-indexes/vector-indexes.adoc#similarity-functions[cosine] vector index. The {l2-norm} validation only considers the last component of the vector. If that component is `&plusmn;0.0`, an otherwise valid query vector will be thrown as invalid. This can also result in some invalid vectors being used to query, and return a similarity score of `&plusmn;0.0`.
639+
| link:{neo4j-docs-base-uri}/operations-manual/current/procedures/#procedure_db_index_vector_queryNodes[`db.index.vector.queryNodes()`] query vector validation is incorrect with a xref:indexes/semantic-indexes/vector-indexes.adoc#similarity-functions[cosine] vector index. The {l2-norm} validation only considers the last component of the vector. If that component is `&plusmn;0.0`, an otherwise valid query vector will be thrown as invalid. This can also result in some invalid vectors being used to query, and return a similarity score of `&plusmn;0.0`.
640640

641641
[TIP]
642642
--

0 commit comments

Comments
 (0)