dtSearch Text Retrieval Engine .NET interface

IndexJob.FoldersToIndex Property

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

public System.Collections.Specialized.StringCollection FoldersToIndex {get; set;}

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

IndexJob Class | dtSearch.Engine Namespace