mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
enhance: add more info to hybrid index log (#35808)
#32900 Signed-off-by: luzhang <luzhang@zilliz.com> Co-authored-by: luzhang <luzhang@zilliz.com>
This commit is contained in:
parent
a3f2f044d6
commit
671112d17b
@ -227,8 +227,6 @@ void
|
||||
HybridScalarIndex<T>::BuildInternal(
|
||||
const std::vector<FieldDataPtr>& 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<T>::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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user