From f957b050e89800a30383fd90f479437b7272712a Mon Sep 17 00:00:00 2001 From: Yhz Date: Mon, 9 Mar 2020 21:18:12 +0800 Subject: [PATCH] update README Signed-off-by: Yhz --- core/src/server/web_impl/README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/core/src/server/web_impl/README.md b/core/src/server/web_impl/README.md index 3b37dff0..22a22e6d 100644 --- a/core/src/server/web_impl/README.md +++ b/core/src/server/web_impl/README.md @@ -500,6 +500,29 @@ $ curl -X GET "http://192.168.1.65:19121/collections/test_collection" -H "accept {"collection_name":"test_collection","dimension":1,"index_file_size":10,"metric_type":"L2","count":0,"index":"FLAT","nlist":16384} ``` +##### Request + +```shell +$ curl -X GET "http://192.168.1.65:19121/collections/test_collection?info=stat" -H "accept: application/json" +``` + +##### Response + +```json +{ + "count":150000, + "partitions_stat":[ + { + "count":1000,"partition_tag":"_default", + "segments_stat":[ + {"count":1000,"index":"IVFFLAT","segment_name":"1583727170217439000","size":5284922} + ] + } + ] +} +``` + + ### `/collections/{collection_name}` (DELETE) Drops a collection by name. -- GitLab