diff --git a/internal/rootcoord/meta_table.go b/internal/rootcoord/meta_table.go index 33db8e60ff..83017492aa 100644 --- a/internal/rootcoord/meta_table.go +++ b/internal/rootcoord/meta_table.go @@ -1004,7 +1004,7 @@ func (mt *MetaTable) unlockGetFieldSchema(collName string, fieldName string) (sc return schemapb.FieldSchema{}, fmt.Errorf("collection %s doesn't have filed %s", collName, fieldName) } -// IsSegmentIndexed check if segment has index +// IsSegmentIndexed check if segment has indexed func (mt *MetaTable) IsSegmentIndexed(segID typeutil.UniqueID, fieldSchema *schemapb.FieldSchema, indexParams []*commonpb.KeyValuePair) bool { mt.ddLock.RLock() defer mt.ddLock.RUnlock()