Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

我们复用了 Query 接口来实现 range search 的功能,因此 Milvus 的接口及所有 SDK 的接口不需要改变,只需要在 params 中加入 "radius" 信息即可。

当指定 "radius" 则忽略 "limit" 设定。

如下图所示,在 search_params.params 中加入 "radius": 888

...

Describe the new thing you want to do in appropriate detail. This may be fairly extensive and have large subsections of its own. Or it may be a few sentences. Use judgment based on the scope of the change.

下图为一个 Search 请求从 SDK 到 SEGCORE 的完整调用栈,range search 完全复用该调用栈,不需要做任何改动。range search 只需要将参数 "radius" 在 SDK 端放入查询参数 "param" 中。

Image Added



Compatibility, Deprecation, and Migration Plan(optional)

...