Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
dtsIndexFileInfo Structure
Structs, Records, Enums | Send Feedback

Contains information about a file being indexed.

struct dtsIndexFileInfo {
  const char * name;
  const char * location;
  const char * type;
  const char * openFailMessage;
  long size;
  long bytesRead;
  long wordCount;
  short percentDone;
  unsigned short typeId;
  long docId;
  const char * displayName;
  const char * fullname;
  __int64 size64;
};
File

dtsearch.h

Members
Members 
Description 
const char * name; 
Name of the document 
const char * location; 
Directory where the document is located 
const char * type; 
Name of the file type of the document (WordPerfect, Word for Windows, etc.) 
const char * openFailMessage; 
If the file could not be accessed, openFailMessage will point to a string describing the reason for the failure 
long size; 
Size of the document, in bytes (superseded by size64) 
long bytesRead; 
Number of bytes of the file processed so far. 
long wordCount; 
Number of words extracted from the file, so far 
short percentDone; 
Percentage of the file that has been processed 
unsigned short typeId; 
TypeId identifying the file type of this document 
long docId; 
The document id assigned to this document in the index 
const char * displayName; 
User-friendly name to display for this document 
const char * fullname; 
Full path and filename 
__int64 size64; 
Size of the document, in bytes 
Remarks

Passed in indexing status notifications embedded in a dtsIndexProgressInfo.

Group
Links
You are here: C++ API > Structs, Records, Enums > dtsIndexFileInfo Structure
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.