milvus-logo
LFAI
< Docs
  • Python

load()

This method loads the specified partition to memory (for search or query).

Invocation

load(timeout=None, **kwargs)

Parameters

ParameterDescriptionTypeRequired
timeoutAn optional duration of time in seconds to allow for the RPC. If it is set to None, the client keeps waiting until the server responds or error occurs.FloatFalse
kwargs: _asyncBoolean value to indicate if to invoke this method asynchronously.BoolFalse

Return

No return.

Raises

InvalidArgumentException: error if the argument is invalid.

Example

from pymilvus import Partition
partition = Partition("book", "novel", "")
partition.load()

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?