Versions Compared

Key

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

...

The purpose of this MEP is to realize "range search" function. User specifies a "radius"range" (including radius low bound, or radius high bound, or both), Milvus does "range search" to get all TOPK results with distance better than falling in this "range"radius" ("> radius" for IP, "< radius" for other metric types)..

  • only set radius low bound


  • only set radius high bound
  • set both radius low bound and high bound

This function can be regarded as a "superset" of the existing search function. Because if sort the results of range search and take the first `topk`, we get identical results comparing with the results returned by search function.

...

Another MEP Pagination will uniformly process the results of 'search' and 'range search' and return to the client, so the result processing will not be discussed in this MEP.

Motivation(required)

User (developing recommendation system) requests Milvus to realize a function to search by distance, returning get all results with similarity better than a certain "radius"distance falling in a "range". With this capability, user can get arbitrary TOPK search results, while currently search can mostly return 16384 results.

Public Interfaces(optional)

...