Commit 1e59bf6
Dian-Lun (Aaron) Lin
Solve batch iterator reranking issue (#95)
This PR addresses the reranking issue in the batch iterator. When the
dataset requires reranking after a search, it is necessary to restore
the distances using the primary dataset before proceeding to search for
the next batch. Failing to do so may result in the search buffer being
mixed with both reranking results and primary dataset results.1 parent 1878951 commit 1e59bf6
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
337 | 353 | | |
338 | 354 | | |
339 | 355 | | |
| |||
0 commit comments