UNPKG

@qdrant/js-client-rest

Version:

This repository contains the REST client for the [Qdrant](https://github.com/qdrant/qdrant) vector search engine.

16 lines (15 loc) 451 B
export function createShardsApi(client) { return { /** * Create shard key */ createShardKey: client.path('/collections/{collection_name}/shards').method('put').create({ timeout: true }), /** * Delete shard key */ deleteShardKey: client .path('/collections/{collection_name}/shards/delete') .method('post') .create({ timeout: true }), }; }