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

Holds information about an index supplied by dtssGetIndexInfo.

struct dtsIndexInfo {
  long structSize;
  long docCount;
  long wordCount;
  long dirCount;
  long fragmentation;
  long obsoleteCount;
  char name[IndexNameLen];
  struct dtsFileDate created;
  struct dtsFileDate updated;
  struct dtsFileDate compressed;
  dtsIndexInfoFlags flags;
  long indexSize;
  __int64 indexSize64;
  long percentFull;
  __int64 wordCount64;
  long structureVersion;
  long canResumeUpdate;
  long indexFlags;
  long fieldCount;
  long startingDocId;
  long lastDocId;
  __int64 totalDataSize;
};
File

dtsearch.h

Members
Members 
Description 
long structSize; 
Initialize to sizeof(dtsIndexInfo). 
long docCount; 
Number of documents in the index 
long wordCount; 
Number of unique words in the index 
long dirCount; 
Number of directories indexed 
long fragmentation; 
Measures the extent to which an index is fragmented by being built in multiple indexing jobs. 
long obsoleteCount; 
When a document is indexed, modified, then indexed again, information about the document in the index is marked as obsolete and new information about the document is appended to the index. 
char name[IndexNameLen]; 
The name of the index that was supplied when the index was created. 
struct dtsFileDate created; 
When index was created 
struct dtsFileDate updated; 
When index was last updated 
struct dtsFileDate compressed; 
When index was last created 
dtsIndexInfoFlags flags; 
Indicates whether the index is case-sensitive, accent-sensitive, or uses relative paths 
long indexSize; 
Size of the index, in bytes. 
__int64 indexSize64; 
Size of the index, in bytes 
long percentFull; 
Indicates how much of the maximum capacity of the index has been used (This is a percentage of the maximum index capacity and does not consider the amount of disk space actually available. 
__int64 wordCount64; 
Number of unique words in the index 
long structureVersion; 
Index structure version. 
long canResumeUpdate; 
If true, an index update was halted before it completed, and the indexer saved information that can be used to resume the index update 
long indexFlags; 
Flags indicating the index type (see IndexingFlags
long fieldCount; 
Number of fields in the index 
long startingDocId; 
First document id assigned in this index 
long lastDocId; 
Last document id assigned in this index 
__int64 totalDataSize; 
The total size of all documents added to this index (including documents indexed multiple times) 
Group
Links
You are here: C++ API > Structs, Records, Enums > dtsIndexInfo Structure
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.