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