milvus-logo
Star
0
Forks
0
Get Started

bulk_load()

This method load a data file into Milvus.

Invocation

bulk_load(collection_name,is_row_based,files)

Parameters

ParameterDescriptionTypeRequired
collection_nameName of the collection to load data inStringTrue
is_row_basedBoolean value to indicate if the file is row-based.BooleanTrue
filesList of file names to load into Milvus.List[String]True
partition_nameName of the partition to insert data intoStringFalse

Return

No return.

Raises

Example

from pymilvus import utility
tasks = utility.bulk_load(
    collection_name="book",
    is_row_based=True,
    files=["row_based_1.json", "row_based_2.json"]
)