You are here: C++ API > Structs, Records, Enums > dtsIndexVerifyJob Structure
dtSearch Text Retrieval Engine Programmer's Reference
dtsIndexVerifyJob Structure

dtsIndexVerifyJob is passed to dtssVerifyIndex, and is used to verify that an index is in good condition.

File: dtsearch.h

struct dtsIndexVerifyJob : public dtsJobBase { const char * indexPath; long result; };
const char * indexPath;
Location of the index to Verify
long result;
On return, result is 0 if the operation completed successfully and -1 if an error occurred.

To verify an index, dtSearch scans all structures in the index and performs many detailed checks to validate all data in the index for consistency. While the job is executing, dtsnIndexVerifyProgress messages will be sent through the pReportCallBack function with a dtsVerifyStatusInfo attached to the dtsMessage's ptrParam.

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.