This method loads the specified partition to memory (for search or query).
load(timeout=None, **kwargs)
Parameter | Description | Type | Required |
---|---|---|---|
timeout | An 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. | Float | False |
kwargs
|
| Bool | False |
No return.
InvalidArgumentException
: error if the argument is invalid.
from pymilvus import Partition
partition = Partition("book", "novel", "")
partition.load()