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
Adding Vector Index Shard Key for DiskANN and quantizedFlat (Azure#39512)
* added vectorIndexShardKey to quantizedFlat and diskANN
* added tests for vectorIndexShardKey
* added testing for invalid type for vectorIndexShardKey and range of QuantizationByteSize
* removed **provisional** from vector embedding policy
* added specific index types in readme for vectorIndexShardKey
* updated error message for quantizationByteSize out of range
---------
Co-authored-by: Andrew Mathew <[email protected]>
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos/README.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -714,13 +714,16 @@ For vector index types of diskANN and quantizedFlat, there are additional option
714
714
quantizationByteSize - the number of bytes used in product quantization of the vectors. A larger value may result in better recall for vector searches at the expense of latency. This applies to index types diskANN and quantizedFlat. The allowed range is between 1 and the minimum between 512 and the vector dimensions. The default value is 64.
715
715
716
716
indexingSearchListSize - which represents the size of the candidate list of approximate neighbors stored while building the diskANN index as part of the optimization processes. This applies only to index type diskANN. The allowed range is between 25 and 500.
717
+
718
+
vectorIndexShardKey - a list of strings containing the shard keys used for partitioning vector indexes. The maximum allowed size for this array is 1, meaning that there is only one allowed path. This applies to index types diskANN and quantizedFlat.
0 commit comments