Function faiss_sys::faiss_IndexIDMap_id_map [] [src]

pub unsafe extern "C" fn faiss_IndexIDMap_id_map(
    index: *mut FaissIndexIDMap,
    p_id_map: *mut *mut c_long,
    p_size: *mut usize
)

get a pointer to the index map's internal ID vector (the id_map field). The outputs of this function become invalid after any operation that can modify the index.

@param index opaque pointer to index object @param p_id_map output, the pointer to the beginning of id_map. @param p_size output, the current length of id_map.