Struct faiss::SearchParameters
-
struct SearchParameters
Parent class for the optional search paramenters.
Sub-classes with additional search parameters should inherit this class. Ownership of the object fields is always to the caller.
Subclassed by faiss::IndexRefineSearchParameters, faiss::SearchParametersHNSW, faiss::SearchParametersIVF, faiss::SearchParametersPQ, faiss::SearchParametersPreTransform, faiss::SearchParametersResidualCoarseQuantizer, faiss::gpu::SearchParametersCagra
Public Functions
-
inline virtual ~SearchParameters()
make sure we can dynamic_cast this
Public Members
-
IDSelector *sel = nullptr
if non-null, only these IDs will be considered during search.
-
inline virtual ~SearchParameters()