UNPKG

@qdrant/js-client-rest

Version:

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

20 lines (19 loc) 598 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createShardsApi = void 0; 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 }), }; } exports.createShardsApi = createShardsApi;