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::SearchParametersIVF, faiss::SearchParametersPQ, faiss::SearchParametersPreTransform

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.