Skip to content

Commit

Permalink
FAISS_HNSW_PQ
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
  • Loading branch information
alexanderguzhva committed Aug 1, 2024
1 parent ac1cbbe commit dec20d0
Show file tree
Hide file tree
Showing 7 changed files with 443 additions and 76 deletions.
4 changes: 4 additions & 0 deletions include/knowhere/comp/index_param.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ constexpr const char* INDEX_DISKANN = "DISKANN";

constexpr const char* INDEX_FAISS_HNSW_FLAT = "FAISS_HNSW_FLAT";
constexpr const char* INDEX_FAISS_HNSW_SQ = "FAISS_HNSW_SQ";
constexpr const char* INDEX_FAISS_HNSW_PQ = "FAISS_HNSW_PQ";

constexpr const char* INDEX_SPARSE_INVERTED_INDEX = "SPARSE_INVERTED_INDEX";
constexpr const char* INDEX_SPARSE_WAND = "SPARSE_WAND";
Expand Down Expand Up @@ -153,6 +154,9 @@ constexpr const char* HNSW_M = "M";
constexpr const char* EF = "ef";
constexpr const char* OVERVIEW_LEVELS = "overview_levels";

// FAISS additional Params
constexpr const char* SQ_TYPE = "sq_type"; // for IVF_SQ and HNSW_SQ

// Sparse Params
constexpr const char* DROP_RATIO_BUILD = "drop_ratio_build";
constexpr const char* DROP_RATIO_SEARCH = "drop_ratio_search";
Expand Down
Loading

0 comments on commit dec20d0

Please sign in to comment.