Save
API Definition
int Save(const char *path) const;
Function
Save a searcher to a specified path in a single process.
Parameters
Parameter |
Description |
Data Type |
Value Range |
|---|---|---|---|
path |
Path for storing the searcher. |
const char * |
The length must be less than 199 characters. |
Return Value
Data Type |
Description |
|---|---|
int |
If the parameter value exceeds the value range or an I/O problem such as incorrect save path occurs, -1 is returned. If this API is called before BuildSearcher is called, -1 is returned. Otherwise, 0 is returned. |
Parent topic: C++