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

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

Signed-off-by: longjiquan <jiquan.long@zilliz.com>
pull/32177/head
Jiquan Long 2024-04-13 21:57:19 +08:00 committed by GitHub
parent 610a65af14
commit 4fb85be525
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())) {