faiss/c_api
Kaelen Haag 24758fb27d Search params c_api implementation (#2732)
Summary:
https://github.com/facebookresearch/faiss/issues/2727

Implements search_with_params function on c_api for index.

Implemented c_api equivalents of SearchParameters and SearchParametersIVF.

My C/C++ is pretty rusty so I imagine my arguments to the new functions for each search parameters could be refined. Happy to take suggestions :)

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

Reviewed By: alexanderguzhva

Differential Revision: D43917264

Pulled By: mdouze

fbshipit-source-id: c9eaf0d96ec0fad4862528aac9b5946294f5e444
2023-03-09 15:30:19 -08:00
..
gpu fix c_api link error: undefined reference (#2660) 2023-01-12 00:19:18 -08:00
impl IVF filtering based on IDSelector (no init split) (#2483) 2022-09-30 06:40:03 -07:00
utils Add faiss_pairwise_L2sqr_with_defaults into C_API (#2067) 2021-10-07 03:43:57 -07:00
AutoTune_c.cpp
AutoTune_c.h
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 Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08:00
IndexIVF_c.h Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08: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
IndexScalarQuantizer_c.h
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 Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08: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
clone_index_c.h
error_c.h
error_impl.cpp
error_impl.h
example_c.c Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08:00
faiss_c.h Search params c_api implementation (#2732) 2023-03-09 15:30:19 -08:00
index_factory_c.cpp
index_factory_c.h
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