mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 14:35:27 +08:00
RESTful API. The influenced API are as follows: - Handler. insert - HandlerV1. insert/upsert - HandlerV2. insert/upsert/search We do not modify search API in Handler/HandlerV1 because they do not support fp16/bf16 vectors. module github.com/milvus-io/milvus/pkg: Add `Float32ArrayToBFloat16Bytes()`, `Float32ArrayToFloat16Bytes()` and `Float32ArrayToBytes()`. These method will be used in GoSDK in the future. issue: #37448 Signed-off-by: Yinzuo Jiang <yinzuo.jiang@zilliz.com> Signed-off-by: Yinzuo Jiang <jiangyinzuo@foxmail.com>
15 lines
369 B
JSON
15 lines
369 B
JSON
{
|
|
"collection_name": "book",
|
|
"output_fields": ["book_id"],
|
|
"search_params": [
|
|
{"key": "anns_field", "value": "book_intro"},
|
|
{"key": "topk", "value": "2"},
|
|
{"key": "params", "value": "{\"nprobe\": 10}"},
|
|
{"key": "metric_type", "value": "L2"},
|
|
{"key": "round_decimal", "value": "-1"}
|
|
],
|
|
"vectors": [ [10,5] ],
|
|
"dsl": "",
|
|
"dsl_type": 1
|
|
}
|