You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cosmos-db/mongodb/vcore/vector-search.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ You can create (Hierarchical Navigable Small World) indexes on M40 cluster tiers
55
55
56
56
|Field |Type |Description |
57
57
|---------|---------|---------|
58
-
|`kind`| string | Type of vector index to create. Type of vector index to create. Primarily, `vector-ivf` is supported. `vector-hnsw` is available as a preview feature that requires enablement via [Azure Feature Enablement Control](../../../azure-resource-manager/management/preview-features.md).|
58
+
|`kind`| string | Type of vector index to create. Type of vector index to create. `vector-hnsw` is available on M40 cluster tiers and higher.|
59
59
|`m`|integer |The max number of connections per layer (`16` by default, minimum value is `2`, maximum value is `100`). Higher m is suitable for datasets with high dimensionality and/or high accuracy requirements. |
60
60
|`efConstruction`|integer |the size of the dynamic candidate list for constructing the graph (`64` by default, minimum value is `4`, maximum value is `1000`). Higher `efConstruction` will result in better index quality and higher accuracy, but it will also increase the time required to build the index. `efConstruction` has to be at least `2 * m`|
61
61
|`similarity`|string |Similarity metric to use with the index. Possible options are `COS` (cosine distance), `L2` (Euclidean distance), and `IP` (inner product). |
@@ -113,7 +113,7 @@ To create a vector index using the IVF (Inverted File) algorithm, use the follow
113
113
| --- | --- | --- |
114
114
|`index_name`| string | Unique name of the index. |
115
115
|`path_to_property`| string | Path to the property that contains the vector. This path can be a top-level property or a dot notation path to the property. If a dot notation path is used, then all the nonleaf elements can't be arrays. Vectors must be a `number[]` to be indexed and return in vector search results.|
116
-
|`kind`| string | Type of vector index to create. Primarily, `vector-ivf` is supported. `vector-hnsw` is available as a preview feature that requires enablement via [Azure Feature Enablement Control](../../../azure-resource-manager/management/preview-features.md).|
116
+
|`kind`| string | Type of vector index to create. IVF, `vector-ivf`, is shown in this example. |
117
117
|`numLists`| integer | This integer is the number of clusters that the inverted file (IVF) index uses to group the vector data. We recommend that `numLists` is set to `documentCount/1000` for up to 1 million documents and to `sqrt(documentCount)` for more than 1 million documents. Using a `numLists` value of `1` is akin to performing brute-force search, which has limited performance. |
118
118
|`similarity`| string | Similarity metric to use with the IVF index. Possible options are `COS` (cosine distance), `L2` (Euclidean distance), and `IP` (inner product). |
119
119
|`dimensions`| integer | Number of dimensions for vector similarity. The maximum number of supported dimensions is `2000`. |
@@ -272,7 +272,7 @@ In this example, `vectorIndex` is returned with all the `cosmosSearch` parameter
272
272
```
273
273
274
274
## Filtered vector search (preview)
275
-
You can now execute vector searches with any supported query filter such as `$lt, $lte, $eq, $neq, $gte, $gt, $in, $nin, and $regex`. Enable the "filtering vector search" feature in the "Preview Features" tab of your Azure Subscription. Learn more about preview features [here](../../../azure-resource-manager/management/preview-features?tabs=azure-portal).
275
+
You can now execute vector searches with any supported query filter such as `$lt, $lte, $eq, $neq, $gte, $gt, $in, $nin, and $regex`. Enable the "filtering vector search" feature in the "Preview Features" tab of your Azure Subscription. Learn more about preview features [here](../../../azure-resource-manager/management/preview-features.md).
276
276
277
277
First, you'll need to define an index for your filter in addition to a vector index. For example, you can define the filter index on a property
0 commit comments