Skip to content

Commit 6f6e334

Browse files
committed
added a missing section of an index def
1 parent e029fac commit 6f6e334

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

articles/search/vector-search-how-to-create-index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,13 @@ The schema must include fields for the document key, vector fields, and any othe
134134
"algorithmConfigurations": [
135135
{
136136
"name": "vectorConfig",
137-
"kind": "hnsw"
137+
"kind": "hnsw",
138+
"hnswParameters": {
139+
"m": 4,
140+
"efConstruction": 400,
141+
"efSearch": 500,
142+
"metric": "cosine"
143+
}
138144
}
139145
]
140146
}

0 commit comments

Comments
 (0)