faiss.index_flat

Undocumented in source.

Members

Aliases

FaissIndexFlat
alias FaissIndexFlat = FaissIndex_H
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
FaissIndexFlat1D
alias FaissIndexFlat1D = FaissIndex_H

Opaque type for IndexFlat1D

FaissIndexFlatIP
alias FaissIndexFlatIP = FaissIndex_H

Opaque type for IndexFlatIP

FaissIndexFlatL2
alias FaissIndexFlatL2 = FaissIndex_H

Opaque type for IndexFlatL2

FaissIndexRefineFlat
alias FaissIndexRefineFlat = FaissIndex_H

Opaque type for IndexRefineFlat

Functions

faiss_IndexFlat1D_cast
FaissIndexFlat1D* faiss_IndexFlat1D_cast(FaissIndex* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat1D_free
void faiss_IndexFlat1D_free(FaissIndexFlat1D* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat1D_new
int faiss_IndexFlat1D_new(FaissIndexFlat1D** p_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat1D_new_with
int faiss_IndexFlat1D_new_with(FaissIndexFlat1D** p_index, int continuous_update)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat1D_update_permutation
int faiss_IndexFlat1D_update_permutation(FaissIndexFlat1D* index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatIP_cast
FaissIndexFlatIP* faiss_IndexFlatIP_cast(FaissIndex* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatIP_free
void faiss_IndexFlatIP_free(FaissIndexFlatIP* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatIP_new
int faiss_IndexFlatIP_new(FaissIndexFlatIP** p_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatIP_new_with
int faiss_IndexFlatIP_new_with(FaissIndexFlatIP** p_index, idx_t d)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatL2_cast
FaissIndexFlatL2* faiss_IndexFlatL2_cast(FaissIndex* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatL2_free
void faiss_IndexFlatL2_free(FaissIndexFlatL2* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatL2_new
int faiss_IndexFlatL2_new(FaissIndexFlatL2** p_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlatL2_new_with
int faiss_IndexFlatL2_new_with(FaissIndexFlatL2** p_index, idx_t d)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat_cast
FaissIndexFlat* faiss_IndexFlat_cast(FaissIndex* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat_compute_distance_subset
int faiss_IndexFlat_compute_distance_subset(FaissIndex* index, idx_t n, const(float)* x, idx_t k, float* distances, const(idx_t)* labels)

compute distance with a subset of vectors

faiss_IndexFlat_free
void faiss_IndexFlat_free(FaissIndexFlat* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat_new
int faiss_IndexFlat_new(FaissIndexFlat** p_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat_new_with
int faiss_IndexFlat_new_with(FaissIndexFlat** p_index, idx_t d, FaissMetricType metric)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexFlat_xb
void faiss_IndexFlat_xb(FaissIndexFlat* index, float** p_xb, size_t* p_size)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexRefineFlat_cast
FaissIndexRefineFlat* faiss_IndexRefineFlat_cast(FaissIndex* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexRefineFlat_free
void faiss_IndexRefineFlat_free(FaissIndexRefineFlat* obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexRefineFlat_k_factor
float faiss_IndexRefineFlat_k_factor(const(FaissIndexRefineFlat)* )

factor between k requested in search and the k requested from the base_index (should be >= 1)

faiss_IndexRefineFlat_new
int faiss_IndexRefineFlat_new(FaissIndexRefineFlat** p_index, FaissIndex* base_index)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexRefineFlat_own_fields
int faiss_IndexRefineFlat_own_fields(const(FaissIndexRefineFlat)* )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexRefineFlat_set_k_factor
void faiss_IndexRefineFlat_set_k_factor(FaissIndexRefineFlat* , float )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
faiss_IndexRefineFlat_set_own_fields
void faiss_IndexRefineFlat_set_own_fields(FaissIndexRefineFlat* , int )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

FaissIndex_H
struct FaissIndex_H

attempt a dynamic cast to a flat index, thus checking check whether the underlying index type is IndexFlat.

Meta