Skip to content
This repository was archived by the owner on Mar 29, 2025. It is now read-only.

Commit 19c11cb

Browse files
committed
Update predicate-indexing.md
correct HNSW typo
1 parent 1a206e9 commit 19c11cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/dql/predicate-indexing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ The indices available for `float32vector` are as follows.
5151

5252
| Dgraph function | Required index / tokenizer | Notes |
5353
| :----------------------- | :------------ | :--- |
54-
| `similar_to` | `hnsw` | HSNW index supports parameters `metric` and `exponent`. |
54+
| `similar_to` | `hnsw` | HNSW index supports parameters `metric` and `exponent`. |
5555

5656

5757
#
5858

5959
`hnsw` (**Hierarchical Navigable Small World**) index supports the following parameters
6060
- metric : indicate the metric to use to compute vector similarity. One of `cosine`, `euclidean`, and `dotproduct`. Default is `euclidean`.
6161

62-
- exponent : An integer, represented as a string, roughly representing the number of vectors expected in the index in power of 10. The exponent value,is used to set "reasonable defaults" for HSNW internal tuning parameters. Default is "4" (10^4 vectors).
62+
- exponent : An integer, represented as a string, roughly representing the number of vectors expected in the index in power of 10. The exponent value,is used to set "reasonable defaults" for HNSW internal tuning parameters. Default is "4" (10^4 vectors).
6363

6464

6565
Here are some examples:

0 commit comments

Comments
 (0)