Skip to content

Commit dec1f83

Browse files
DOC-5150 fix unhelpful changes made by Cursor
1 parent 9a701cf commit dec1f83

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

content/develop/clients/nodejs/vecsearch.md

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,17 @@ try {
9292
```
9393

9494
Next, create the index with the following schema:
95-
- `content`: Text field for the content to index
96-
- `genre`: Tag field representing the text's genre
97-
- `embedding`: Vector field with:
98-
- HNSW indexing
99-
- L2 distance metric
100-
- Float32 values
101-
- 768 dimensions (matching the embedding model)
95+
- `content`: Text field for the content to index
96+
- `genre`: [Tag]({{< relref "/develop/interact/search-and-query/advanced-concepts/tags" >}})
97+
field representing the text's genre
98+
- `embedding`: [Vector]({{< relref "/develop/interact/search-and-query/advanced-concepts/vectors" >}})
99+
field with:
100+
- [HNSW]({{< relref "/develop/interact/search-and-query/advanced-concepts/vectors#hnsw-index" >}})
101+
indexing
102+
- [L2]({{< relref "/develop/interact/search-and-query/advanced-concepts/vectors#distance-metrics" >}})
103+
distance metric
104+
- Float32 values
105+
- 768 dimensions (matching the embedding model)
102106

103107
```js
104108
await client.ft.create('vector_idx', {

0 commit comments

Comments
 (0)