Summary:
This demonstrates how to query several independent IVF indexes with a trained index in common. This avoids to duplicate the coarse quantizer and metadata in memory.
On the Faiss side, it also implements a InvertedListIterator on top of the flat inverted lists, which can prove useful.
Reviewed By: junjieqi
Differential Revision: D56575887
fbshipit-source-id: cc3b26e952ee21f24b10169b5b614066600cf4b8