Struct faiss::SearchParametersIVFΒΆ

struct SearchParametersIVF : public faiss::SearchParameters

Subclassed by faiss::IVFPQSearchParameters

Public Functions

inline SearchParametersIVF()
inline virtual ~SearchParametersIVF()

Public Members

size_t nprobe

number of probes at query time

size_t max_codes

max nb of codes to visit to do a query

SearchParameters *quantizer_params = nullptr
IDSelector *sel = nullptr

if non-null, only these IDs will be considered during search.