milvus-logo
Star
0
Forks
0
Get Started

flush()

Milvus temporarily buffers the newly inserted vectors in the cache. Call flush() to persist them to the object storage. It's async function, so it's will take some times to excute.

Invocation

new milvusClient(MILUVS_ADDRESS).dataManager.flush(FlushReq);

Parameter

FlushReq

ParameterDescriptiontyperequired
collection_namesAn array of Collection nameString[]true

Example

new milvusClient(MILUVS_ADDRESS).dataManager.flush({
  collection_names: ['my_collection'],
});

Return

// flush return