90 xvecHnswFlatIndexTag*
handle() const noexcept;
95 xvecExecutionContextTag* context_ =
nullptr;
96 xvecHnswFlatIndexTag* handle_ =
nullptr;
RAII wrapper for xvecHnswFlatIndexTag.
xvecHnswFlatIndexTag * handle() const noexcept
Get the underlying C API handle.
static HnswFlatIndex fromDescriptor(xvecExecutionContextTag *context, const xvecHnswFlatDescriptor &descriptor)
Load an HNSW-Flat index from a FAISS-free descriptor (and upload it to device).
static HnswFlatIndex fromFaissFile(xvecExecutionContextTag *context, const std::string &path)
Load an HNSW-Flat index from a Faiss file (and upload it to device).
HnswFlatIndex(HnswFlatIndex &&other) noexcept
HnswFlatIndex & operator=(HnswFlatIndex &&other) noexcept
HnswFlatIndex & operator=(const HnswFlatIndex &)=delete
HnswFlatIndex(const HnswFlatIndex &)=delete
FAISS-free description of an HNSW-Flat index.
Exception types for C++ XVECTOR wrappers.
HNSW-Flat (Hierarchical Navigable Small World) index interface.
Core types, enums, and structures for the XVector library.