1.0.9 • Published 4 years ago
@zilliz/milvus-sdk-node-dev v1.0.9
Milvus2-sdk-node
This is node sdk for Milvushttps://github.com/milvus-io/milvus.
Dependencies
Milvus: v2+
Node: v12+
Installation
   npm install @zilliz/milvus2-sdk-nodeAPI
| Name | Async | Description | 
|---|---|---|
| createCollection | false | Create collection in milvus | 
| hasCollection | false | Check collection exist or not | 
| showCollections | false | List all collections | 
| describeCollection | false | Get collection detail, like name ,schema | 
| getCollectionStatistics | false | Get collection statistics like row count | 
| loadCollection | true | Load data into cache | 
| releaseCollection | true | Release data from cache | 
| dropCollection | false | Drop collection from milvus | 
| createPartition | false | Create partition in one collection | 
| hasPartition | false | Check partition exist or not | 
| showPartitions | false | List all partitions for one collection | 
| getPartitionStatistics | false | Get partition statistics like row_count | 
| loadPartitions | true | Load data into cache | 
| releasePartitions | true | Release data from cache | 
| dropPartition | false | Drop partition from milvus | 
| createIndex | true | Creat index on vector field | 
| describeIndex | false | Get index info | 
| getIndexState | false | Get index build state | 
| getIndexBuildProgress | false | Get index building progress | 
| dropIndex | true | Drop index | 
| insert | false | Insert data into milvus | 
| search | false | Vector similarity search | 
| flush | false | Flush Data | 
| getDataByExpr | false | Get data by expr | 
Example
- How to operate collectionhttps://github.com/milvus-io/milvus-sdk-node/blob/main/example/Collection.ts
- How to insert datahttps://github.com/milvus-io/milvus-sdk-node/blob/main/example/Insert.ts
- Vector similarity search on float fieldhttps://github.com/milvus-io/milvus-sdk-node/blob/main/example/Search.ts
- Vector similarity search on binary field https://github.com/milvus-io/milvus-sdk-node/blob/main/example/BinarySearch.ts