Links
dtSearch Text Retrieval Engine Programmer's Reference
dtsMergeStatusInfo Structure
Classes | Send Feedback

Status of a merge job in progress

struct dtsMergeStatusInfo {
  const char * text;
  long docsChecked;
  long docsToMerge;
  long docsMerged;
  long wordsToMerge;
  long wordsMerged;
  long step;
  long docsAdded;
  long docsSkipped;
  long docsUpdated;
  long percentDone;
};
File

dtsearch.h

Members
Members 
Description 
const char * text; 
The text of the document or word being merged 
long docsChecked; 
Number of documents checked in the first step of a merge (checking the documents to see which documents should go in the target index). 
long docsToMerge; 
Number of documents that will be added to the target index. 
long docsMerged; 
During the second step of a merge, merging the document information, docsMerged is the number of documents merged so far. 
long wordsToMerge; 
Number of words that will be added to the target index. 
long wordsMerged; 
During the third step of a merge, merging the words, wordsMerged is the number of words merged so far. 
long step; 
MergeStep indicating the state of the merge process 
long docsAdded; 
Documents added to target index 
long docsSkipped; 
Documents skipped because they are already present in the target index 
long docsUpdated; 
Documents updated in the target index 
long percentDone; 
Percentage of the input indexes that have been merged 
Remarks

When an index is being merged, the dtSearch Engine will provide progress updates by passing a dtsMergeStatusInfo structure back to a callback function.

Group
Links
You are here: C++ API > Classes > dtsMergeStatusInfo Structure
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.