Skip to content

Commit d2c1af5

Browse files
authored
Merge pull request #150 from FalkorDB/gkorland-patch-4
Add 'cosine' as supported similarity function
2 parents 9f2a84e + 0b09517 commit d2c1af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypher/indexing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ CREATE VECTOR INDEX FOR ()-[e:Call]->() ON (e.summary) OPTIONS {dimension:128, s
249249
```
250250

251251
Please note, when creating a vector index, both the vector dimension and similarity function
252-
must be provided. At the moment the only supported similarity function is 'euclidean'.
252+
must be provided. At the moment the only supported similarity functions are 'euclidean' or 'cosine'.
253253

254254
## Inserting vectors
255255

0 commit comments

Comments
 (0)