pub unsafe extern "C" fn faiss_Index_add_with_ids(
    index: *mut FaissIndex,
    n: idx_t,
    x: *const f32,
    xids: *const idx_t
) -> c_int
Expand description

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)