mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
[skip ci]Format markdown doc for proxy-reduce.md (#9840)
Signed-off-by: ruiyi.jiang <ruiyi.jiang@zilliz.com>
This commit is contained in:
parent
91d8f85df7
commit
404b3710ff
@ -4,7 +4,7 @@
|
||||
|
||||
For a specified Search request, with nq = 2 and topk = 10, Proxy received 4 search results from query nodes.
|
||||
|
||||
Each Search Result is nq * topk two dimensional structure,as the illustration below. The result indicates that the user has input NQ vectors and wants to obtain the TOPK most similar vectors to these NQ vectors respectively.。
|
||||
Each Search Result is nq \* topk two dimensional structure,as the illustration below. The result indicates that the user has input NQ vectors and wants to obtain the TOPK most similar vectors to these NQ vectors respectively.。
|
||||
|
||||
![search_result_format](./figs/nq_topk_search_results.png)
|
||||
|
||||
@ -13,4 +13,4 @@ For each query, the top k hit results are in descending order of score. The larg
|
||||
Therefore, we will only discuss how the proxy merges the results for one query result. For NQ query results, we can loop through NQ or process them in parallel.
|
||||
|
||||
So the problem degenerates to how to get the maximum number of 10 (TOPK) results from these four sorted arrays. As shown in the figure below:
|
||||
![final_result](./figs/reduce_results.png)
|
||||
![final_result](./figs/reduce_results.png)
|
||||
|
Loading…
Reference in New Issue
Block a user