You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I know, there is currently no way to use an IndexIDMap / IndexIDMap2 with binary indexes, as the IDMap classes derive from the Index class, and not the IndexBinary class.
It would be nice to have IndexBinaryIDMap / IndexBinaryIDMap2 classes in a future release, with serialization support in index_io.cpp as for other indexes.
The current workaround is to store mappings between ids and record numbers in a separate binary file.
Best
The text was updated successfully, but these errors were encountered:
Bugfixes:
- slow scanning of inverted lists (#836).
Features:
- add basic support for 6 new metrics in CPU `IndexFlat` and `IndexHNSW` (#848);
- add support for `IndexIDMap`/`IndexIDMap2` with binary indexes (#780).
Misc:
- throw python exception for OOM (#758);
- make `DistanceComputer` available for all random access indexes;
- gradually moving from `long` to `int64_t` for portability.
Hello,
As far as I know, there is currently no way to use an IndexIDMap / IndexIDMap2 with binary indexes, as the IDMap classes derive from the Index class, and not the IndexBinary class.
Such code does not compile:
It would be nice to have IndexBinaryIDMap / IndexBinaryIDMap2 classes in a future release, with serialization support in index_io.cpp as for other indexes.
The current workaround is to store mappings between ids and record numbers in a separate binary file.
Best
The text was updated successfully, but these errors were encountered: