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

File: dtsearch.h

struct dtsSearchProgressInfo { long updateType; dtsSearchFileInfo * currentFile; long filesToSearch; long filesSearched; long totalHitCount; long totalFileCount; const char * currentIndexPath; dtsSearchResultsItem * pFoundItem; };
long updateType;
A MessageCode identifying the reason for this update
dtsSearchFileInfo * currentFile;
Information about the file being searched (unindexed searches only)
long filesToSearch;
Number of disk files to be searched (unindexed searches only)
long filesSearched;
Number of files searched so far (unindexed searches only)
long totalHitCount;
Total hits count for all documents retrieved
long totalFileCount;
Total number of documents retrieved
const char * currentIndexPath;
The path of the index being searched (indexed searches only)
dtsSearchResultsItem * pFoundItem;
Information on the item found, if this is a dtsnSearchFound notification

Reported through the status notification callback in a dtsSearchJob, and the OnProgressUpdate virtual function callback in DSearchJob

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