fix: put inverted index into local storage (#32209) (#32210)

issue: https://github.com/milvus-io/milvus/issues/32154
pr: #32209

Signed-off-by: longjiquan <jiquan.long@zilliz.com>
pull/32241/head
Jiquan Long 2024-04-13 21:53:18 +08:00 committed by GitHub
parent e00772a098
commit 3a1e0c3b18
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ InvertedIndexTantivy<T>::InvertedIndexTantivy(
auto field =
std::to_string(disk_file_manager_->GetFieldDataMeta().field_id);
auto prefix = disk_file_manager_->GetLocalIndexObjectPrefix();
path_ = fmt::format("/tmp/{}", prefix);
path_ = prefix;
boost::filesystem::create_directories(path_);
d_type_ = cfg_.to_tantivy_data_type();
if (tantivy_index_exist(path_.c_str())) {