mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-30 10:59:32 +08:00
Fix field_name spell error (#26718)
Signed-off-by: Writer-X <1256866856@qq.com>
This commit is contained in:
parent
f468a64019
commit
5f08e3a72b
@ -801,7 +801,7 @@ func (s *Server) GetIndexStatistics(ctx context.Context, request *milvuspb.GetIn
|
||||
return s.proxy.GetIndexStatistics(ctx, request)
|
||||
}
|
||||
|
||||
// GetIndexBuildProgress gets index build progress with filed_name and index_name.
|
||||
// GetIndexBuildProgress gets index build progress with field_name and index_name.
|
||||
// IndexRows is the num of indexed rows. And TotalRows is the total number of segment rows.
|
||||
// Deprecated: use DescribeIndex instead
|
||||
func (s *Server) GetIndexBuildProgress(ctx context.Context, request *milvuspb.GetIndexBuildProgressRequest) (*milvuspb.GetIndexBuildProgressResponse, error) {
|
||||
|
@ -2094,7 +2094,7 @@ func (node *Proxy) DropIndex(ctx context.Context, request *milvuspb.DropIndexReq
|
||||
return dit.result, nil
|
||||
}
|
||||
|
||||
// GetIndexBuildProgress gets index build progress with filed_name and index_name.
|
||||
// GetIndexBuildProgress gets index build progress with field_name and index_name.
|
||||
// IndexRows is the num of indexed rows. And TotalRows is the total number of segment rows.
|
||||
// Deprecated: use DescribeIndex instead
|
||||
func (node *Proxy) GetIndexBuildProgress(ctx context.Context, request *milvuspb.GetIndexBuildProgressRequest) (*milvuspb.GetIndexBuildProgressResponse, error) {
|
||||
|
@ -730,7 +730,7 @@ def gen_npy_files_for_bulk_insert(data, schema, data_dir):
|
||||
if len(d) > 0:
|
||||
nb = len(d)
|
||||
dim = get_dim_by_schema(schema)
|
||||
vec_filed_name = get_float_vec_field_name(schema)
|
||||
vec_field_name = get_float_vec_field_name(schema)
|
||||
fields_name = [field.name for field in schema.fields]
|
||||
files = []
|
||||
uuid_str = uuid.uuid4()
|
||||
@ -741,7 +741,7 @@ def gen_npy_files_for_bulk_insert(data, schema, data_dir):
|
||||
# mkdir for npy file
|
||||
Path(data_source).parent.mkdir(parents=True, exist_ok=True)
|
||||
log.info(f"save file {data_source}")
|
||||
if vec_filed_name in file:
|
||||
if vec_field_name in file:
|
||||
log.info(f"generate {nb} vectors with dim {dim} for {data_source}")
|
||||
with NpyAppendArray(data_source, "wb") as npaa:
|
||||
for j in range(nb):
|
||||
|
Loading…
Reference in New Issue
Block a user