azure-sdk-for-js/sdk/cosmosdb/cosmos/samples-dev
Manik Khandelwal cae13bb96a
[Cosmos] JS SDK support for partitioned DiskANN (#31839)
### Packages impacted by this PR
@azure/cosmos

### Describe the problem that is addressed by this PR
In this PR we are adding three optional parameters in the Indexing
Policy in the vector Index to support partitioned DiskANN. The three
optional parameters are:

quantizationByteSize : The number of bytes used in product quantization
of the vectors.This is an optional parameter and applies to index types
DiskANN and quantizedFlat. The allowed range for this parameter is
between 1 and 200.
vectorIndexShardKey : The list of string containing the shard keys used
for partitioning the vector indexes. This is an optional parameter and
applies to index types DiskANN and quantizedFlat.
indexingSearchListSize : The size of the candidate list of approximate
neighbors stored while building the diskANN index as part of the
optimization processes.This is an optional parameter and applies to
index type DiskANN only. The allowed range is between 25 and 500.
The changes have been tested using a Test account, since as of now the
backend changes aren't live yet.

### What are the possible designs available to address the problem? If
there are more than one possible design, why was the one in this PR
chosen?


### Are there test cases added in this PR? _(If not, why?)_
Yes

### Provide a list of related PRs _(if any)_


### Command used to generate this PR:**_(Applicable only to SDK release
request PRs)_

### Checklists
- [ ] Added impacted package name to the issue description
- [ ] Does this PR needs any fixes in the SDK Generator?** _(If so,
create an Issue in the
[Autorest/typescript](https://github.com/Azure/autorest.typescript)
repository and link it here)_
- [ ] Added a changelog (if necessary)

---------

Co-authored-by: Ujjwal Soni <soniujjwal@microsoft.com>
Co-authored-by: Manik Khandelwal <mkhandelwal@microsoft.com>
2024-11-19 23:45:35 +05:30
..
ChangeFeedIterator [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
Data
Query Samples for fts (#31829) 2024-11-19 17:49:18 +05:30
Shared [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
AlterQueryThroughput.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
Bulk.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
BulkUpdateWithSproc.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
ChangeFeed.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
ContainerManagement.ts [Cosmos] JS SDK support for partitioned DiskANN (#31839) 2024-11-19 23:45:35 +05:30
DatabaseManagement.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
Diagnostics.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
EntraAuth.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
HierarchicalPartitioning.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
IndexManagement.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
ItemManagement.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
QueryThroughput.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
SasTokenAuth.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
ServerSideScripts.ts [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00