Use IVFFLAT_CC instead of IVFFLAT for sealed segment tmp index (#28164)

See also #28152

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/27874/head
congqixia 2023-11-03 23:50:15 +08:00 committed by GitHub
parent 68a86471ba
commit 501cba90ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ enum class IndexConfigLevel {
class VecIndexConfig {
inline static const std::map<SegmentType, std::string> support_index_types =
{{SegmentType::Growing, knowhere::IndexEnum::INDEX_FAISS_IVFFLAT_CC},
{SegmentType::Sealed, knowhere::IndexEnum::INDEX_FAISS_IVFFLAT}};
{SegmentType::Sealed, knowhere::IndexEnum::INDEX_FAISS_IVFFLAT_CC}};
inline static const std::map<std::string, double> index_build_ratio = {
{knowhere::IndexEnum::INDEX_FAISS_IVFFLAT_CC, 0.1}};