Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3524
Searches with the metric abs(dot(query, database))
This makes it possible to search vectors that are closest to a hyperplane
* adds support for alternative metrics in faiss.knn in python
* checks that it works with HNSW
* simplifies the extra distances interface by removing the template on
Reviewed By: asadoughi
Differential Revision: D58695971
fbshipit-source-id: 2a0ff49c7f7ac2c005d85f141cc5de148081c9c4
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3487
Sometimes it is not useful to serialize the storage index along with a HNSW index. This diff adds a flag that supports skipping the storage of the index.
Searchign and adding to the index is not possible until a storage index is added back in.
Reviewed By: junjieqi
Differential Revision: D57911060
fbshipit-source-id: 5a4ceee4a8f53f6f746df59af3942b813a99c14f
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3455
Code quality control by reducing the number of prints
Reviewed By: junjieqi
Differential Revision: D57502194
fbshipit-source-id: a6cd65ed4cc49590ce73d2978d41b640b5259c17
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3309
Make sure that the HNSW search stats work, remove stats for deprecated functionality.
Remove code of the link and code paper that is not supported anymore.
Reviewed By: kuarora, junjieqi
Differential Revision: D55247802
fbshipit-source-id: 03f176be092bff6b2db359cc956905d8646ea702
Summary:
Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3190
This diff adds more result handlers in order to expose them externally.
This enables range search for HSNW and Fast Scan, and nprobe parameter support for FastScan.
Reviewed By: pemazare
Differential Revision: D52547384
fbshipit-source-id: 271da5ffea6411df3d8e50641abade18bd7b774b