SetRemoveFast

API definition

static void setRemoveFast(bool removeFast);

Function

Sets whether to quickly delete vectors.

Input

bool removeFast: true indicates that fast deletion is enabled. false indicates that fast deletion is disabled.

Output

N/A

Return value

N/A

Restrictions

Fast deletion enhances vector removal efficiency within the database, albeit with a slight compromise on vector addition performance. If this API is not called, fast deletion is disabled by default. This API can be called only once and must be used before the index object is constructed.