setEf
API Definition
def setEf(ef: int) -> int
Function
Sets the size of the candidate node list during search.
Parameters
Parameter |
Data Type |
Description |
Value Range |
|---|---|---|---|
ef |
int |
Size of the candidate node list during search. |
[1, nb], where nb indicates the data volume of the vector base library. |
Return Value
Data Type |
Description |
|---|---|
int |
This API is a wrapper for an underlying C++ API, which controls exception handling. |
Parent topic: Python