You are here: C++ API > Enumerations > IndexingFlags Enumeration
Close
dtSearch Text Retrieval Engine Programmer's Reference
IndexingFlags Enumeration

Values for indexing flags in dtsIndexJob

File: dtsearch.h

Syntax
C++
enum IndexingFlags { dtsAlwaysAdd = 0x0001, dtsCheckDiskSpace = 0x0002, dtsIndexCreateCaseSensitive = 0x0004, dtsIndexCreateAccentSensitive = 0x0008, dtsIndexCreateRelativePaths = 0x0010, dtsIndexResumeUpdate = 0x0020, dtsIndexCacheText = 0x0040, dtsIndexCacheOriginalFile = 0x0080, dtsIndexCreateVersion6 = 0x00100, dtsIndexCacheTextWithoutFields = 0x00200, dtsIndexKeepExistingDocIds = 0x00400, dtsIndexTokenizeEnumerableFields = 0x00800, dtsIndexLowerCaseEnumerableFields = 0x01000, dtsIndexEnableAutoEnumerableFields = 0x02000, dtsIndexCreateOptionalAccentSensitive = 0x4000, dtsIndexCreatePreserveExistingSettings = 0x8000, dtsIndexSkipSymbolicLinks = 0x80000 };
Members
Description
dtsAlwaysAdd = 0x0001
Reindex a document even if the modification date and size are unchanged.
dtsCheckDiskSpace = 0x0002
Check for sufficient disk space before indexing. In the C++ API only, this flag will cause a dtsAskDiskFullOverride message to be sent through the error handler callback (dtsErrorHandler.pNotifyFn) giving the calling application the option to cancel the update.
dtsIndexCreateCaseSensitive = 0x0004
Can be used in indexingFlags instead of the createFlags
dtsIndexCreateAccentSensitive = 0x0008
Create an accent-sensitive index.
dtsIndexCreateRelativePaths = 0x0010
Use relative rather than absolute paths in storing document locations.
dtsIndexResumeUpdate = 0x0020
Resume an earlier index update that did not complete. (Version 7 indexes only.)
dtsIndexCacheText = 0x0040
Compress and store the text of documents in the index, for use in generating Search Reports and highlighting hits. (This flag must be set when an index is created.) See Caching documents.
dtsIndexCacheOriginalFile = 0x0080
Compress and store documents in the index, for use in generating Search Reports and highlighting hits. (This flag must be set when an index is created.) See Caching documents.
dtsIndexCreateVersion6 = 0x00100
Obsolete -- version 6 indexes are no longer supported
dtsIndexCacheTextWithoutFields = 0x00200
When text caching is enabled, do not cache any fields that were provided through the data source API. See Caching documents.
dtsIndexKeepExistingDocIds = 0x00400
Preserve existing document ids following a compression of an index or a merge of two or more indexes.
dtsIndexTokenizeEnumerableFields = 0x00800
Use Options.StoredFieldDelimiterChar to tokenize enumerable fields into separate values when indexing.
dtsIndexLowerCaseEnumerableFields = 0x01000
Convert enumerable fields to lower case
dtsIndexEnableAutoEnumerableFields = 0x02000
Enable automatically-generated enumerable fields
dtsIndexCreateOptionalAccentSensitive = 0x4000
Summary
Create an index with optional accent sensitivity (ICU integration required)
Remarks
If an index was created with the dtsIndexCreateOptionalAccentSensitive, then at search time accents in search requests can be either required for a match or ignored.
dtsIndexCreatePreserveExistingSettings = 0x8000
Summary
Preserve the existing settings in an index when clearing it before updating.
dtsIndexSkipSymbolicLinks = 0x80000
Do not follow symbolic links, junction points, etc.
Copyright (c) 1995-2020 dtSearch Corp. All rights reserved.