91 xvecIvfFlatIndexTag*
handle() const noexcept;
96 xvecExecutionContextTag* context_ =
nullptr;
97 xvecIvfFlatIndexTag* handle_ =
nullptr;
RAII wrapper for xvecIvfFlatIndexTag.
IvfFlatIndex(const IvfFlatIndex &)=delete
xvecIvfFlatIndexTag * handle() const noexcept
Get the underlying C API handle.
static IvfFlatIndex fromDescriptor(xvecExecutionContextTag *context, const xvecIvfFlatDescriptor &descriptor)
Load an IVF-Flat index from a FAISS-free descriptor.
IvfFlatIndex & operator=(IvfFlatIndex &&other) noexcept
IvfFlatIndex & operator=(const IvfFlatIndex &)=delete
static IvfFlatIndex fromFaissFile(xvecExecutionContextTag *context, const std::string &path)
Load an IVF-Flat index from a Faiss file.
IvfFlatIndex(IvfFlatIndex &&other) noexcept
FAISS-free description of an IVF-Flat index.
Exception types for C++ XVECTOR wrappers.
IVF-Flat (Inverted File with Flat vectors) index interface.
Core types, enums, and structures for the XVector library.