ftscloseFTS
ftscloseFTS is a library function used to terminate a full-text search (FTS) session or to close an FTS index, releasing resources such as memory, file handles, and locks. It is typically part of an FTS subsystem used by database engines or search libraries.
In typical implementations, it takes a single argument—the handle or reference to the FTS index instance—previously
Return value and errors: The function returns a status code or boolean indicating success; on failure it
Usage considerations: Do not use the handle after closing; ensure thread-safety when multiple threads may access
Example: result = ftscloseFTS(myIndex); if result indicates success, the index is closed; otherwise, errorDetail contains the failure