How to return 'faiss' unique vector id on 'add_with_ids' trained index?
Since you provided the actual vectors, you presumably know how to map ids to vectors. 
Most Faiss indexes in do not store the vectors, because they need to be compressed to fit in RAM.
I'm using Facebook's faiss index with custom indexes using the add_with_ids method. In inference time I use distance, ID = model.search() which returns the custom ID it was trained with. Is it possible to return also a unique id without retraining? Or just return the actual closest vector?
Thank you!