You are here: C++ Support Classes > dtSearch Namespace > Classes > DIndexJob Class > DIndexJob::FoldersToIndex Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
DIndexJob::FoldersToIndex Data Member

The directories or files to index.

Syntax
C++
DStringSetProperty FoldersToIndex;

To specify a directory and its subdirectories, add <+> (less than, plus, greater than) following the directory name. 

To specify one or more files, add the filenames to the FoldersToIndex list. This is more efficient than specifying the folder name in FoldersToIndex and the filename in IncludeFilters, because it eliminates the need for a directory scan to locate the file.

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