milvus-logo
Star
0
Forks
0
Get Started

flushSync()

It's same function as flush. But flushSync is sync function. So you can ensure it's flushed after function return the result.

Invocation

new milvusClient(MILUVS_ADDRESS).collectionManager.flushSync(FlushReq);

Parameter

FlushReq

ParameterDescriptiontyperequired
collection_namesAn array of Collection nameString[]true

Example

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

Return

// flushSync return