You are here: C++ API > Classes > dtsFileConvertJob2 Structure > dtsFileConvertJob2::dtsIndexVerifyJob Structure
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsFileConvertJob2::dtsIndexVerifyJob Structure

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

File: dtsearch.h

Syntax
C++
struct dtsIndexVerifyJob : public dtsJobBase { const char * indexPath; long result; };
Members
Description
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-2021 dtSearch Corp. All rights reserved.