faiss_Index_add_with_ids

Same as add, but stores xids instead of sequential ids.

The default implementation fails with an assertion, as it is not supported by all indexes.

@param index opaque pointer to index object @param xids if non-null, ids to store for the vectors (size n)

extern (C)
int
faiss_Index_add_with_ids
(,,
const(float)* x
,
const(idx_t)* xids
)

Meta