Commit Graph
1 Commits
Author SHA1 Message Date
Alexandr Guzhva e57a8939c9 introduce SingleQueryResultCollectHandler (#4926)
Summary:
This PR introduces the following:
* a new type of a `ResultHandler` called `SingleQueryResultCollectHandler`
* adds a filtering capability to the core of the FastScan code
* `SIMDResultHandler::size_t in_range_num` and `SIMDResultHandlerToFloat::scan_cnt`, which can be effectively used for early stop checks. These are not currently used in the baseline `FAISS` code, but are used in the `Knowhere` fork

mdouze mnorris11 junjieqi please comment and suggest unit tests + locations that need to be written, given some possible unusual use cases on your end

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/4926

Reviewed By: subhadeepkaran

Differential Revision: D96651396

Pulled By: mnorris11

fbshipit-source-id: c15bc1fc1398d072014315187c9e4dd98c573190
2026-03-18 14:05:55 -07:00