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

File: dtsearch.h

Syntax
C++
struct dtsIndexJobAction { short create; short add; short compress; short remove; short removeDeleted; };
Members
Description
short create;
Create an index in indexPath.
short add;
Add documents to an index. The documents to be added are specified in toAdd.
short compress;
Compress the index. Compressing an index removes obsolete information from the index
short remove;
Remove the files listed in toRemoveList from the index
short removeDeleted;
Check that each file in the index still exists on disk. Remove from the index any files that no longer exist.

Specifies whether to create, add documents to, compress, or remove items from an index in a dtsIndexJob.

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