未验证 提交 dfa25f88 编写于 作者: B BossZou 提交者: GitHub

fix demo bug in HTTP doc (fix #1634) (#1640)

Signed-off-by: NYhz <yinghao.zou@zilliz.com>
上级 24c39535
......@@ -5,6 +5,7 @@ Please mark all change in change log and use the issue from GitHub
# Milvus 0.7.1 (TBD)
## Bug
- \#1634 Fix search demo bug in HTTP doc
- \#1635 Vectors can be returned by searching after vectors deleted if `cache_insert_data` set true
## Feature
......
......@@ -1145,7 +1145,7 @@ $ curl -X GET "http://127.0.0.1:19121/collections/test_collection/segments/15837
##### Request
```shell
$ curl -X PUT "http://127.0.0.1:19121/collections/test_collection/vectors" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"topk\":2,\"vectors\":[[0.1]], \"params\":{\"nprobe\":16}}"
$ curl -X PUT "http://127.0.0.1:19121/collections/test_collection/vectors" -H "accept: application/json" -H "Content-Type: application/json" -d "{\"search\":{\"topk\":2,\"vectors\":[[0.1]], \"params\":{\"nprobe\":16}}}"
```
##### Response
......@@ -1388,7 +1388,7 @@ $ curl -X GET "http://127.0.0.1:19121/system/version" -H "accept: application/js
##### Response
```json
{ "reply": "0.7.0" }
{"code":0,"message":"OK","reply": "0.7.0" }
```
### `system/{op}` (PUT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册