Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
DIndexJob Class
Data Members | Classes | Legend | Members | Methods | Send Feedback

Class wrapper around dtsIndexJob; used to create or update indexes.

Class Hierarchy
class DIndexJob : public DJobBase;
File

dtsfc.h

Remarks

For more information on creating, updating, and maintaining indexes, see Building and Maintaining Indexes

Data Members
DIndexJob Class
Data Member 
Description 
deprecated Folder to use instead of the index folder for temporary files during indexing. 
Used to specify that the text in certain fields should be stored in the index in a way that permits unique field values to be enumerated quickly. 
Filename filters specifying files not to be indexed. 
Name of file containing a list of files to be added to an index. 
The directories or files to index. 
Filename filters specifying files to be indexed. 
The dtsIndexJob that this DIndexJob object wraps. 
Name of the index. 
Folder where the index files will be created. 
Used to specify that the text in certain fields should be collected, stored in the index, and returned in searches. 
Name of file containing a list of files to be removed from an index. 
Group
Methods
Method 
Description 
Requests termination of the job in progress. 
Requests immediate termination of the job in progress. 
Called to execute a job. 
Returns non-zero if the job failed 
Format all errors that occurred during execution as a single string, with line breaks separating the errors 
Returns the number of errors recorded during execution 
Returns a dtsErrorInfo with any errors that occurred during execution 
Returns true if the job has been cancelled 
Returns true if the job has started and is not yet done. 
Called while a job is executing every time the dtSearch Engine checks to see if the job has been cancelled. 
Called while a job is executing if an error is encountered, with the error code and message. 
Not used 
SetTimeout() causes a job to cancel automatically after the specified number of seconds 
Do not pump waiting windows messages during callbacks 
DIndexJob Class
Method 
Description 
Add a folder to the list of folders to be indexed 
Attach a data source to the index job. See dtsDataSource and DDataSourceBase 
Requests termination of the job in progress. 
Requests immediate termination of the job in progress. 
Resets the job to default values. 
Execute the indexing job. 
During indexing, OnProgressUpdate will be called frequently with information about the progress of the indexing job. 
Set the "add" action flag for the IndexJob (index documents that are not currently in the index, or that have been modified since they were last indexed). 
Set the "compress" action in the index job (compress optimizes an index and removes obsolete information) 
Set the "create" action in the index job (create a new, empty index before any other actions) 
Clear all of the action flags (add, create, etc.) 
Set the "remove deleted" action in the index job. 
If the "remove listed" action is true, the files listed in ToRemoveListName will be removed from the index. 
Set to true to create an accent-sensitive index. 
Set to true to create a case-sensitive index 
Set to true to create an index that uses relative paths 
Set flags controlling how the index should be built. 
Limit the amount of memory that the indexer will use for workspace. 
Legend
 
Method 
 
virtual 
 
abstract 
 
Data Member 
Links
You are here: C++ Support Classes > dtSearch Namespace > Classes > DIndexJob Class
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.