Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: chasingegg <[email protected]>
  • Loading branch information
chasingegg committed Jan 14, 2025
1 parent 0af1c83 commit 6dcc43c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/src/index/VectorMemIndex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ VectorMemIndex<T>::Build(const Config& config) {
file_manager_->CacheRawDataToMemory(insert_files.value());

auto opt_fields = GetValueFromConfig<OptFieldT>(config, VEC_OPT_FIELDS);
std::vector<std::vector<uint32_t>> scalar_info;
std::unordered_map<int64_t, std::vector<std::vector<uint32_t>>> scalar_info;
if (opt_fields.has_value() && index_.IsAdditionalScalarSupported() &&
config.value("partition_key_isolation", false)) {
scalar_info = file_manager_->CacheOptFieldToMemory(opt_fields.value());
Expand Down

0 comments on commit 6dcc43c

Please sign in to comment.