faiss/c_api
Aalekh Patel 4e6b6f8a12 Add the ability to clone and read binary indexes to the C API. (#3318)
Summary:
I noticed we have a pretty decent C API for binary indexes and please correct me if I'm wrong but we seem to be missing a couple of functions, like the ability to clone and read binary indexes. This PR provides those functions.

Pull Request resolved: https://github.com/facebookresearch/faiss/pull/3318

Reviewed By: algoriddle

Differential Revision: D55469615

Pulled By: mdouze

fbshipit-source-id: 42e6f827d8b5ad6bc3efe989e47ede3aa06c1810
2024-03-29 02:37:19 -07:00
..
gpu raft enabled cmake build (#2898) 2023-06-13 08:43:18 -07:00
impl Id selector c api (#2755) 2023-03-24 09:25:48 -07:00
utils Fix build on Alpine Linux (#3148) 2023-12-01 02:52:52 -08:00
AutoTune_c.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
AutoTune_c.h Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
CMakeLists.txt Summary: Add Binary Index i.o to c_api (#2233) 2022-03-16 03:28:46 -07:00
Clustering_c.cpp C_API: Improve PreTransformIndex (#1945) 2021-06-23 07:06:20 -07:00
Clustering_c.h C_API: Improve PreTransformIndex (#1945) 2021-06-23 07:06:20 -07:00
INSTALL.md Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08:00
IndexBinary_c.cpp Summary: Add Binary Index i.o to c_api (#2233) 2022-03-16 03:28:46 -07:00
IndexBinary_c.h Summary: Add Binary Index i.o to c_api (#2233) 2022-03-16 03:28:46 -07:00
IndexFlat_c.cpp IndexFlatCodes: a single parent for all flat codecs (#2132) 2021-12-07 01:31:07 -08:00
IndexFlat_c.h C_API: Improve PreTransformIndex (#1945) 2021-06-23 07:06:20 -07:00
IndexIVFFlat_c.cpp Add setters for IndexIVF* indexes (#1827) 2021-04-22 05:22:40 -07:00
IndexIVFFlat_c.h Add setters for IndexIVF* indexes (#1827) 2021-04-22 05:22:40 -07:00
IndexIVF_c.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexIVF_c.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexLSH_c.cpp IndexFlatCodes: a single parent for all flat codecs (#2132) 2021-12-07 01:31:07 -08:00
IndexLSH_c.h IndexFlatCodes: a single parent for all flat codecs (#2132) 2021-12-07 01:31:07 -08:00
IndexPreTransform_c.cpp C_API: Improve PreTransformIndex (#1945) 2021-06-23 07:06:20 -07:00
IndexPreTransform_c.h C_API: Improve PreTransformIndex (#1945) 2021-06-23 07:06:20 -07:00
IndexReplicas_c.cpp IndexShards with common quantizer (#2682) 2023-02-15 06:48:47 -08:00
IndexReplicas_c.h Improve meta indexes (#1982) 2021-09-08 10:02:47 -07:00
IndexScalarQuantizer_c.cpp move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexScalarQuantizer_c.h move by_residual to IndexIVF (#2870) 2023-05-23 09:56:19 -07:00
IndexShards_c.cpp IndexShards with common quantizer (#2682) 2023-02-15 06:48:47 -08:00
IndexShards_c.h Improve meta indexes (#1982) 2021-09-08 10:02:47 -07:00
Index_c.cpp Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08:00
Index_c.h Fix some typos (#3056) 2023-09-27 03:17:41 -07:00
MetaIndexes_c.cpp Improve meta indexes (#1982) 2021-09-08 10:02:47 -07:00
MetaIndexes_c.h Improve meta indexes (#1982) 2021-09-08 10:02:47 -07:00
VectorTransform_c.cpp Impl IndexPreTransform for c_api (#1816) 2021-04-22 05:27:36 -07:00
VectorTransform_c.h Classes inherited from VectorTransform for c_api (#1869) 2021-05-12 07:34:39 -07:00
clone_index_c.cpp Add the ability to clone and read binary indexes to the C API. (#3318) 2024-03-29 02:37:19 -07:00
clone_index_c.h Add the ability to clone and read binary indexes to the C API. (#3318) 2024-03-29 02:37:19 -07:00
error_c.h Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
error_impl.cpp Enable clang-format + autofix. 2021-02-25 04:46:10 -08:00
error_impl.h [C API] Update for compatibility with v1.5 (#858) 2019-06-12 15:46:08 +02:00
example_c.c Id selector c api (#2755) 2023-03-24 09:25:48 -07:00
faiss_c.h Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08:00
index_factory_c.cpp Add the ability to clone and read binary indexes to the C API. (#3318) 2024-03-29 02:37:19 -07:00
index_factory_c.h Add the ability to clone and read binary indexes to the C API. (#3318) 2024-03-29 02:37:19 -07:00
index_io_c.cpp Summary: Add Binary Index i.o to c_api (#2233) 2022-03-16 03:28:46 -07:00
index_io_c.h Summary: Add Binary Index i.o to c_api (#2233) 2022-03-16 03:28:46 -07:00
macros_impl.h Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08:00