See Also
dtSearch Text Retrieval Engine -- .NET API (.NET 2.0-4.0) 7.70
IndexJob::FoldersToIndex Property

List of folders (or files) to index (add <+> after a folder name to include subfolders).

C#
public System::Collections::Specialized::StringCollection FoldersToIndex;
Visual Basic
Public Property FoldersToIndex() As System::Collections::Specialized::StringCollection
Remarks

Use FoldersToIndex to specify the folders that should be scanned to locate documents to be indexed. Add <+> after a folder name to include subfolders, like this: "c:\docs<+>". 

A file will be indexed if it matches one of the IncludeFilters and does not match any of the ExcludeFilters

Filenames can also be added to FoldersToIndex, so to add c:\docs\sample.doc to the index, add "c:\docs\sample.doc" to the FoldersToIndex collection (this is more efficient than adding "c:\docs" to FoldersToIndex and setting IncludeFilters to "sample.doc").

See Also
You are here: dtSearch::Engine Namespace > IndexJob Class > IndexJob Properties > FoldersToIndex Property
Copyright (c) 1998-2012 dtSearch Corp. All rights reserved.