diff --git a/internal/core/src/index/HybridScalarIndex.cpp b/internal/core/src/index/HybridScalarIndex.cpp index d9ab3c13a1..b220883724 100644 --- a/internal/core/src/index/HybridScalarIndex.cpp +++ b/internal/core/src/index/HybridScalarIndex.cpp @@ -227,8 +227,6 @@ void HybridScalarIndex::BuildInternal( const std::vector& field_datas) { auto index = GetInternalIndex(); - LOG_INFO("build hybrid index with internal index:{}", - ToString(internal_index_type_)); index->BuildWithFieldData(field_datas); } @@ -254,6 +252,13 @@ HybridScalarIndex::Build(const Config& config) { SelectIndexBuildType(field_datas); BuildInternal(field_datas); + auto index_meta = file_manager_context_.indexMeta; + LOG_INFO( + "build hybrid index with internal index:{}, for segment_id:{}, " + "field_id:{}", + ToString(internal_index_type_), + index_meta.segment_id, + index_meta.field_id); is_built_ = true; }