hot fix: local builder should use new flat param string (#37)

This commit is contained in:
Jalin Wang 2026-01-26 17:28:38 +08:00 committed by GitHub
parent e36a7de157
commit 5e2492b2cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -934,8 +934,8 @@ int do_build(YAML::Node &config_root, YAML::Node &config_common) {
ailego::Params params;
if (g_disable_id_map) {
params.set(PARAM_HNSW_STREAMER_USE_ID_MAP, true);
params.set(FLAT_SEARCHER_USE_ID_MAP, true);
params.set(PARAM_HNSW_STREAMER_USE_ID_MAP, false);
params.set(PARAM_FLAT_USE_ID_MAP, false);
}
if (!prepare_params(config_root["BuilderParams"], params)) {
cerr << "Failed to prepare params" << endl;