From fc1e37ee0bde2b09933c7189875e36da95da4a45 Mon Sep 17 00:00:00 2001 From: Milvus-doc-bot Date: Wed, 30 Aug 2023 06:31:19 +0000 Subject: [PATCH] Release new docs --- .../site/en/userGuide/tools/cli_commands.md | 288 +++++++----------- .../site/en/userGuide/tools/cli_overview.md | 4 +- version.json | 2 +- 3 files changed, 116 insertions(+), 178 deletions(-) diff --git a/v2.2.x/site/en/userGuide/tools/cli_commands.md b/v2.2.x/site/en/userGuide/tools/cli_commands.md index 33eb8beef..2e31ae6e0 100644 --- a/v2.2.x/site/en/userGuide/tools/cli_commands.md +++ b/v2.2.x/site/en/userGuide/tools/cli_commands.md @@ -9,164 +9,144 @@ Milvus Command-Line Interface (CLI) is a command-line tool that supports databas This topic introduces all supported commands and the corresponding options. Some examples are also included for your reference. -## calc distance +## clear -Calculates the distance between two vector arrays. +Clears the screen. -

Syntax

+

Syntax

```shell -calc distance +clear ``` -

Options

+

Options

| Option | Full name | Description | | :----- | :-------- | :----------------------------------- | | --help | n/a | Displays help for using the command. | -

Example

+## connect -To calculate the distance between two vector arrays and be prompted for the required input: +Connects to Milvus. + +

Syntax

```shell -milvus_cli > calc distance +connect [-uri (text)] [-t (text)] +``` + +

Options

-Import left operator vectors from existing collection? [y/N]: n +| Option | Full name | Description | +| :----- | :----------- | :---------------------------------------------------------------------------------------------------------- | +| -uri | --uri | (Optional) The uri name. The default is "http://127.0.0.1:19530". | +| -t | --token | (Optional) The zilliz cloud apikey or `username:password`. The default is None. | +| --help | n/a | Displays help for using the command. | -The vector's type (float_vectors, bin_vectors): float_vectors +

Example

-Left vectors: - [[0.083, 0.992, 0.931, 0.433, 0.93, 0.706, 0.668, 0.481, 0.255, 0.088, 0.121, 0.701, 0.935, 0.142, 0.012, 0.197, 0.066, 0.864, 0.263, 0.732, 0.445, 0.672, 0.184, 0.675, 0.361, 0.115, 0.396, 0.206, 0.084, 0.274, 0.523, 0.958, 0.071, 0.646, 0.864, 0.434, 0.212, 0.5, 0.319, 0.608, 0.356, 0.745, 0.672, 0.488, 0.221, 0.485, 0.193, 0.557, 0.546, 0.626, 0.593, 0.526, 0.404, 0.795, 0.076, 0.156, 0.231, 0.1, 0.18, 0.796, 0.716, 0.752, 0.816, 0.363], [0.284, 0.135, 0.172, 0.198, 0.752, 0.174, 0.314, 0.18, 0.672, 0.727, 0.062, 0.611, 0.921, 0.851, 0.238, 0.648, 0.794, 0.177, 0.639, 0.339, 0.402, 0.977, 0.887, 0.528, 0.768, 0.16, 0.698, 0.016, 0.906, 0.261, 0.902, 0.93, 0.547, 0.146, 0.65, 0.072, 0.876, 0.645, 0.303, 0.922, 0.807, 0.093, 0.063, 0.344, 0.667, 0.81, 0.662, 0.147, 0.242, 0.641, 0.903, 0.714, 0.637, 0.365, 0.512, 0.267, 0.577, 0.809, 0.698, 0.62, 0.768, 0.402, 0.922, 0.592]] +```shell +milvus_cli > connect -uri http://127.0.0.1:19530 +``` -Import right operator vectors from existing collection? [y/N]: n +## create Database -The vector's type (float_vectors, bin_vectors): float_vectors +Create Database in Milvus -Right vectors: - [[0.518, 0.034, 0.786, 0.251, 0.04, 0.247, 0.55, 0.595, 0.638, 0.957, 0.303, 0.023, 0.007, 0.712, 0.841, 0.648, 0.807, 0.429, 0.402, 0.904, 0.002, 0.882, 0.69, 0.268, 0.732, 0.511, 0.942, 0.202, 0.749, 0.234, 0.666, 0.517, 0.787, 0.399, 0.565, 0.457, 0.57, 0.937, 0.712, 0.981, 0.928, 0.678, 0.154, 0.775, 0.754, 0.532, 0.074, 0.493, 0.288, 0.229, 0.9, 0.657, 0.936, 0.184, 0.478, 0.587, 0.592, 0.84, 0.793, 0.985, 0.826, 0.595, 0.947, 0.175], [0.704, 0.02, 0.937, 0.249, 0.431, 0.99, 0.779, 0.855, 0.731, 0.665, 0.773, 0.647, 0.135, 0.44, 0.621, 0.329, 0.718, 0.003, 0.927, 0.511, 0.515, 0.359, 0.744, 0.828, 0.31, 0.161, 0.605, 0.539, 0.331, 0.077, 0.503, 0.668, 0.275, 0.72, 0.172, 0.035, 0.88, 0.762, 0.646, 0.727, 0.83, 0.001, 0.085, 0.188, 0.583, 0.709, 0.134, 0.683, 0.246, 0.214, 0.863, 0.109, 0.168, 0.539, 0.451, 0.303, 0.064, 0.575, 0.547, 0.85, 0.75, 0.789, 0.681, 0.735], [0.648, 0.769, 0.525, 0.716, 0.752, 0.199, 0.095, 0.222, 0.767, 0.029, 0.244, 0.527, 0.496, 0.691, 0.487, 0.83, 0.546, 0.102, 0.845, 0.096, 0.744, 0.758, 0.092, 0.289, 0.139, 0.005, 0.204, 0.245, 0.528, 0.607, 0.446, 0.029, 0.686, 0.558, 0.705, 0.451, 0.87, 0.404, 0.824, 0.727, 0.058, 0.283, 0.512, 0.682, 0.027, 0.026, 0.809, 0.669, 0.241, 0.103, 0.101, 0.225, 0.989, 0.662, 0.917, 0.972, 0.93, 0.447, 0.318, 0.434, 0.437, 0.036, 0.009, 0.96], [0.726, 0.418, 0.404, 0.244, 0.618, 0.356, 0.07, 0.842, 0.137, 0.967, 0.465, 0.811, 0.027, 0.704, 0.935, 0.546, 0.92, 0.125, 0.917, 0.089, 0.463, 0.929, 0.289, 0.721, 0.368, 0.837, 0.14, 0.431, 0.495, 0.75, 0.484, 0.083, 0.431, 0.392, 0.177, 0.303, 0.013, 0.317, 0.593, 0.047, 0.695, 0.185, 0.633, 0.825, 0.203, 0.619, 0.597, 0.152, 0.899, 0.061, 0.512, 0.67, 0.82, 0.52, 0.743, 0.07, 0.99, 0.119, 0.949, 0.284, 0.529, 0.65, 0.523, 0.059]] +

Syntax

-Supported metric type. Default is "L2" (L2, IP, HAMMING, TANIMOTO) [L2]: -L2 +```shell +create database -db (text) +``` -sqrt [False]: True +### Options -Timeout(optional) []: +| Option | Full name | Description | +| :----- | :--------- | :-------------------------------------------------- | +| -db | --database | [Required] The database name in milvus. | +| --help | n/a | Displays help for using the command. | -====== -Return type: -Assume the vectors_left: L_1, L_2, L_3 -Assume the vectors_right: R_a, R_b -Distance between L_n and R_m we called "D_n_m" -The returned distances are arranged like this: -[[D_1_a, D_1_b], -[D_2_a, D_2_b], -[D_3_a, D_3_b]] +### Examples -Note: if some vectors do not exist in collection, the returned distance is "-1.0" -====== +#### Example 1 -Result: +The following example create the database testdb in milvus. -[[3.625464916229248, 3.234992742538452, 3.568333148956299, 3.694913148880005], [2.556027889251709, 2.8901233673095703, 3.385758399963379, 3.3239054679870605]] +```shell +milvus_cli > create database -db testdb ``` -## calc mkts_from_hybridts +## use Database -Generates a hybrid timestamp based on an existing hybrid timestamp, timedelta, and incremental time interval. +Use Database in Milvus -

Syntax

+

Syntax

```shell -calc mkts_from_hybridts -h (int) -m (float) +use database -db (text) ``` -

Options

+### Options -| Option | Full name | Description | -| :----- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------- | -| -h | --hybridts | The original hybrid timestamp used to generate a new hybrid timestamp. A non-negative integer that ranges from 0 to 18446744073709551615. | -| -m | --milliseconds | The incremental interval in milliseconds. | -| --help | n/a | Displays help for using the command. | +| Option | Full name | Description | +| :----- | :--------- | :-------------------------------------------------- | +| -db | --database | [Required] The database name in milvus. | +| --help | n/a | Displays help for using the command. | -## calc mkts_from_unixtime +### Examples -Generates a hybrid timestamp based on the Unix Epoch time, timedelta, and incremental time interval. +#### Example 1 -

Syntax

+The following example use the database testdb in milvus. ```shell -calc mkts_from_unixtime -e (float) -m (float) +milvus_cli > use database -db testdb ``` -

Options

+## List Databases -| Option | Full name | Description | -| :----- | :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| -e | --epoch | The known Unix timestamp used to generate a hybrid timestamp. The Unix epoch is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). | -| -m | --milliseconds | The incremental interval in milliseconds. | -| --help | n/a | Displays help for using the command. | +List Databases in Milvus -## calc hybridts_to_unixtime - -Converts a hybrid timestamp to the UNIX timestamp ignoring the logic part. - -

Syntax

+

Syntax

```shell -calc hybridts_to_unixtime -h (int) +list databases ``` +### Examples -

Options

- -| Option | Full name | Description | -| :----- | :--------- | :--------------------------------------------------------------------------------------------------------------------------------- | -| -h | --hybridts | The known hybrid timestamp to be converted to a UNIX timestamp. A non-negative integer that ranges from 0 to 18446744073709551615. | -| --help | n/a | Displays help for using the command. | - -## clear - -Clears the screen. +#### Example 1 -

Syntax

+The following example list the databases in milvus. ```shell -clear +milvus_cli > list databases ``` -

Options

+## Delete Database -| Option | Full name | Description | -| :----- | :-------- | :----------------------------------- | -| --help | n/a | Displays help for using the command. | +Delete Database in Milvus -## connect - -Connects to Milvus. - -

Syntax

+

Syntax

```shell -connect [-h (text)] [-p (int)] [-a (text)] [-s (text)] [-u (text)] [-pwd (text)] [-D] +delete database -db (text) ``` -

Options

+### Options -| Option | Full name | Description | -| :----- | :----------- | :---------------------------------------------------------------------------------------------------------- | -| -h | --host | (Optional) The host name. The default is "127.0.0.1". | -| -p | --port | (Optional) The port number. The default is "19530". | -| -a | --alias | (Optional) The alias name of the Milvus link. The default is "default". | -| -s | --secure | (Optional) Whether to enable secure connection or not. The default is "False". | -| -pwd | --password | (Optional) The user password in Milvus. The default is "None". | -| -u | --username | (Optional) The username in Milvus. The default is "None". | -| -D | --disconnect | (Optional) Flag to disconnect from the Milvus server specified by an alias. The default alias is "default". | -| --help | n/a | Displays help for using the command. | +| Option | Full name | Description | +| :----- | :--------- | :-------------------------------------------------- | +| -db | --database | [Required] The database name in milvus. | +| --help | n/a | Displays help for using the command. | -

Example

+### Examples + +#### Example 1 + +The following example delete the database testdb in milvus. ```shell -milvus_cli > connect -h 127.0.0.1 -p 19530 -a default +milvus_cli > delete database -db testdb ``` ## create user @@ -206,7 +186,7 @@ Specifies unique aliases for a collection.

Syntax

```shell -create alias -c (text) -a (text) [-A] [-t (float)] +create alias -c (text) -a (text) [-A] ```

Options

@@ -216,27 +196,26 @@ create alias -c (text) -a (text) [-A] [-t (float)] | -c | --collection-name | The name of the collection. | | -a | --alias-name | The alias. | | -A | --alter | (Optional) Flag to transfer the alias to a specified collection. | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | | --help | n/a | Displays help for using the command. |

Examples

-

Example 1

+

Example 1

The following example creates the carAlias1 and carAlias2 aliases for the car collection. ```shell -milvus_cli > create alias -c car -a carAlias1 -a carAlias2 +milvus_cli > create alias -c car -a carAlias1 ``` -

Example 2

+

Example 2

Example 2 is based on Example 1.
-The following example transfers the carAlias1 and carAlias2 aliases from the car collection to the car2 collection. +The following example transfers the carAlias1 alias from the car collection to the car2 collection. ```shell -milvus_cli > create alias -c car2 -A -a carAlias -a carAlias2 +milvus_cli > create alias -c car2 -A -a carAlias1 ``` ## create collection @@ -257,13 +236,16 @@ create collection -c (text) -f (text) -p (text) [-a] [-d (text)] | -f | --schema-field | (Multiple) The field schema in the `::` format. | | -p | --schema-primary-field | The name of the primary key field. | | -a | --schema-auto-id | (Optional) Flag to generate IDs automatically. | -| -d | --schema-description | (Optional) The description of the collection. | +| -desc | --schema-description | (Optional) The description of the collection. | +| -level | --consistency-level | (Optional) Consistency level: Bounded,Session,Strong, Eventual . | +| -d | --is-dynamic | (Optional) Collection schema supports dynamic fields or not. | +| -s | --shards-num | (Optional) Shards number | | --help | n/a | Displays help for using the command. |

Example

```shell -milvus_cli > create collection -c car -f id:INT64:primary_field -f vector:FLOAT_VECTOR:128 -f color:INT64:color -f brand:INT64:brand -p id -a -d 'car_collection' +milvus_cli > create collection -c car -f id:INT64:primary_field -f vector:FLOAT_VECTOR:128 -f color:INT64:color -f brand:INT64:brand -p id -A -d 'car_collection' ``` ## create partition @@ -322,9 +304,11 @@ The name of the field to create an index for (vector): vector Index name: vectorIndex -Index type (FLAT, IVF_FLAT, IVF_SQ8, IVF_PQ, RNSG, HNSW, ANNOY): IVF_FLAT +# Default is '' +Index type (FLAT, IVF_FLAT, IVF_SQ8, IVF_PQ, RNSG, HNSW, ANNOY, AUTOINDEX, DISKANN, ) []: IVF_FLAT -Index metric type (L2, IP, HAMMING, TANIMOTO): L2 +# Default is '' +Index metric type (L2, IP, HAMMING, TANIMOTO,): L2 Index params nlist: 2 @@ -338,20 +322,20 @@ Deletes a user ### Syntax ```shell -delete alias -p (text) +delete user -u (text) ``` ### Options | Option | Full name | Description | | :----- | :--------- | :----------------------------------- | -| -u | --usernmae | The username. | +| -u | --username | The username. | | --help | n/a | Displays help for using the command. | ### Example ```shell -milvus_cli > delete user -p zilliz +milvus_cli > delete user -u zilliz ``` ## delete alias @@ -361,7 +345,7 @@ Deletes an alias.

Syntax

```shell -delete alias -a (text) [-t (float)] +delete alias -a (text) ```

Options

@@ -369,7 +353,6 @@ delete alias -a (text) [-t (float)] | Option | Full name | Description | | :----- | :----------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -a | --alias-name | The alias. | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | | --help | n/a | Displays help for using the command. | | | @@ -380,7 +363,7 @@ Deletes a collection.

Syntax

```shell -delete collection -c (text) [-t (float)] +delete collection -c (text) ```

Options

@@ -388,7 +371,6 @@ delete collection -c (text) [-t (float)] | Option | Full name | Description | | :----- | :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -c | --collection-name | The name of the collection to be deleted. | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | | --help | n/a | Displays help for using the command. |

Example

@@ -404,7 +386,7 @@ Deletes entities.

Syntax

``` -delete entities -c (text) -p (text) [-t (float)] +delete entities -c (text) -p (text) ```

Options

@@ -413,7 +395,6 @@ delete entities -c (text) -p (text) [-t (float)] | :----- | :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -c | --collection-name | The name of the collection that entities to be deleted belongs to. | | -p | --partition | (Optional) The name of the partition to be deleted. | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | | --help | n/a | Displays help for using the command. |

Example

@@ -435,7 +416,7 @@ Deletes a partition.

Syntax

```shell -delete partition -c (text) -p (text) [-t (float)] +delete partition -c (text) -p (text) ```

Options

@@ -443,7 +424,6 @@ delete partition -c (text) -p (text) [-t (float)] | Option | Full name | Description | | :----- | :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -c | --collection-name | The name of the collection that the partition to be deleted belongs to. | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | | -p | --partition | The name of the partition to be deleted. | | --help | n/a | Displays help for using the command. | @@ -462,7 +442,7 @@ Deletes an index and the corresponding index files.

Syntax

```shell -delete index -c (text) -in (text) [-t (float)] +delete index -c (text) -in (text) ```

Options

@@ -471,7 +451,6 @@ delete index -c (text) -in (text) [-t (float)] | :----- | :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -c | --collection-name | The name of the collection. | | -in | --index-name | The name of the index name. | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | | --help | n/a | Displays help for using the command. |

Example

@@ -487,7 +466,7 @@ Shows the detailed information of a collection.

Syntax

```shell -describe collection -c (text) +show collection -c (text) ```

Options

@@ -500,7 +479,7 @@ describe collection -c (text)

Example

```shell -milvus_cli > describe collection -c test_collection_insert +milvus_cli > show collection -c test_collection_insert ``` ## describe partition @@ -510,7 +489,7 @@ Shows the detailed information of a partition.

Syntax

```shell -describe partition -c (text) -p (text) +show partition -c (text) -p (text) ```

Options

@@ -524,7 +503,7 @@ describe partition -c (text) -p (text)

Example

```shell -milvus_cli > describe partition -c test_collection_insert -p _default +milvus_cli > show partition -c test_collection_insert -p _default ``` ## describe index @@ -534,7 +513,7 @@ Shows the detailed information of an index.

Syntax

```shell -describe index -c (text) -in (text) +show index -c (text) -in (text) ```

Options

@@ -546,6 +525,11 @@ describe index -c (text) -in (text) | --help | n/a | Displays help for using the command. | +

Example

+ +```shell +milvus_cli > show index -c test_collection -in index_name +``` ## exit Closes the command line window. @@ -601,7 +585,7 @@ Imports local or remote data into a partition.

Syntax

```shell -import -c (text)[-p (text)][-t (float)] +import -c (text)[-p (text)] ```

Options

@@ -610,7 +594,6 @@ import -c (text)[-p (text)][-t (float)] | :----- | :---------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | -c | --collection-name | The name of the collection that the data are inserted into. | | -p | --partition | (Optional) The name of the partition that the data are inserted into. Not passing this partition option indicates choosing the "\_default" partition. | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | | --help | n/a | Displays help for using the command. |

Example 1

@@ -683,15 +666,13 @@ Lists all collections.

Syntax

```shell -list collections [-t (float)][-l (boolean)] +list collections ```

Options

| Option | Full name | Description | | :----- | :------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| -t | --timeout | (Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs. | -| -l | --show-loaded | (Optional) Shows the loaded collections only. | | --help | n/a | Displays help for using the command. | ## list indexes @@ -748,26 +729,6 @@ load -c (text) [-p (text)] | -p | --partition | (Optional/Multiple) The name of the partition. | | --help | n/a | Displays help for using the command. | -## load_balance - -Performs load balancing by transferring segments from a source query node to a destination one. - -

Syntax

- -```shell -load_balance -s (int) -d (int) -ss (int) [-t (int)] -``` - -

Options

- -| Option | Full name | Description | -| :----- | :------------------- | :----------------------------------------------------------------------- | -| -s | --src-node-id | The ID of the source query node to be balanced. | -| -d | --dst-node-id | (Multiple) The ID of the destination query node to transfer segments to. | -| -ss | --sealed-segment-ids | (Multiple) The ID of the sealed segment to be transferred. | -| -t | --timeout | (Optional) The timeout in seconds. | -| --help | n/a | Displays help for using the command. | - ## query Shows query results that match all the criteria that you enter. @@ -806,7 +767,6 @@ timeout []: Guarantee timestamp. This instructs Milvus to see all operations performed before a provided timestamp. If no such timestamp is provided, then Milvus will search all operations performed to date. [0]: Graceful time. Only used in bounded consistency level. If graceful_time is set, PyMilvus will use current timestamp minus the graceful_time as the guarantee_timestamp. This option is 5s by default if not set. [5]: -Travel timestamp. Users can specify a timestamp in a search to get results based on a data view at a specified point in time. [0]: 428960801420883491 ```

Example 2

@@ -830,7 +790,6 @@ timeout []: Guarantee timestamp. This instructs Milvus to see all operations performed before a provided timestamp. If no such timestamp is provided, then Milvus will search all operations performed to date. [0]: Graceful time. Only used in bounded consistency level. If graceful_time is set, PyMilvus will use current timestamp minus the graceful_time as the guarantee_timestamp. This option is 5s by default if not set. [5]: -Travel timestamp. Users can specify a timestamp in a search to get results based on a data view at a specified point in time. [0]: 428960801420883491 ``` ## release @@ -896,7 +855,6 @@ timeout []: Guarantee Timestamp(It instructs Milvus to see all operations performed before a provided timestamp. If no such timestamp is provided, then Milvus will search all operations performed to date) [0]: -Travel Timestamp(Specify a timestamp in a search to get results based on a data view) [0]: ``` @@ -929,7 +887,6 @@ timeout []: Guarantee Timestamp(It instructs Milvus to see all operations performed before a provided timestamp. If no such timestamp is provided, then Milvus will search all operations performed to date) [0]: -Travel Timestamp(Specify a timestamp in a search to get results based on a data view) [0]: ``` @@ -957,24 +914,22 @@ timeout []: Guarantee Timestamp(It instructs Milvus to see all operations performed before a provided timestamp. If no such timestamp is provided, then Milvus will search all operations performed to date) [0]: -Travel Timestamp(Specify a timestamp in a search to get results based on a data view) [0]: ``` -## show connection +## List connection -Shows the current connection. +List connections.

Syntax

```shell -show connection [-a] +list connections ```

Options

| Option | Full name | Description | | :----- | :-------- | :---------------------------------------- | -| -a | --all | (Optional) Flag to show all connections. | | --help | n/a | Displays help for using the command. | ## show index_progress @@ -1012,23 +967,6 @@ show loading_progress -c (text) [-p (text)] |-p|--partition|(Optional/Multiple) The name of the loading partition.| |--help|n/a|Displays help for using the command.| -## show query_segment - -Shows the segment information of a collection. - -

Syntax

- -```shell -show query_segment -c (text) [-t (float)] -``` - -

Options

- -|Option|Full name|Description -|:---|:---|:---| -|-c|--collection-name|The name of the collection.| -|-t|--timeout|(Optional) The maximum allowed duration in seconds of an RPC call. Not passing this option indicates that the client keeps waiting until the server responds or an error occurs.| -|--help|n/a|Displays help for using the command.| ## version @@ -1051,5 +989,5 @@ version ```shell $ milvus_cli --version -Milvus_CLI v0.1.7 +Milvus_CLI v0.4.0 ``` diff --git a/v2.2.x/site/en/userGuide/tools/cli_overview.md b/v2.2.x/site/en/userGuide/tools/cli_overview.md index 0ebbc2794..a38c48a2a 100644 --- a/v2.2.x/site/en/userGuide/tools/cli_overview.md +++ b/v2.2.x/site/en/userGuide/tools/cli_overview.md @@ -24,11 +24,11 @@ In the following table, you can find the recommended versions of PyMilvus and Mi | 2.0.0-RC8 | 2.0.0rc8 | 0.1.8 | | 2.0.0-RC9 | 2.0.0rc9 | 0.1.9 | | 2.1.0 | 2.1.0 | 0.3.0 | -| 2.2.x | 2.2.x | 0.3.2 | +| 2.2.x | 2.2.x | 0.4.0 |
Milvus 2.0.0-RC7 and later are not backward compatible with 2.0.0-RC6 and earlier due to changes made to storage formats.
## Current version -The current version of Milvus_CLI is 0.3.2. +The current version of Milvus_CLI is 0.4.0. To find your installed version and see if you need to update, run `milvus_cli --version`. diff --git a/version.json b/version.json index 79f759454..f9f0ff4f3 100644 --- a/version.json +++ b/version.json @@ -1,4 +1,4 @@ { - "version": "v2.3.x", + "version": "v2.2.x", "released": "yes" }