Skip to content

IVF: add IDFilter support and set_intra_query_threads in cpp runtime#322

Open
ibhati wants to merge 1 commit intomainfrom
ib/ivf_intra_filter
Open

IVF: add IDFilter support and set_intra_query_threads in cpp runtime#322
ibhati wants to merge 1 commit intomainfrom
ib/ivf_intra_filter

Conversation

@ibhati
Copy link
Copy Markdown
Member

@ibhati ibhati commented Apr 28, 2026

Brings two FAISS-required runtime features to the IVF C++ bindings:

IDFilter-based search to support SearchParameters::sel selectors in IndexSVSIVF.
The ability to change the intra-query thread count after train() / load() (mirrors Vamana).

…tch heuristic

- bindings/cpp ivf_index/dynamic_ivf_index: SearchParams gains
  filter_stop and filter_estimate_batch; search() accepts IDFilter*;
  filter loop mirrors PR #309 adaptive batch heuristic.
- Manager classes expose get/set_num_intra_query_threads.
- IVFIndex / DynamicIVFIndex: set_threadpool() also rebuilds intra-query
  thread pools; add set_num_intra_query_threads().
- Tests: 4 new cases mirroring Vamana PR#309 (restrictive filter +
  filter_stop early-exit, static & dynamic).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant