Links
dtSearch Text Retrieval Engine Programmer's Reference
TextFlags Enumeration
Enumerations | Send Feedback
enum TextFlags {
  dtsoTfSkipNumericValues = 0x0001,
  dtsoTfSkipXFirstAndLast = 0x0002,
  dtsoTfRecognizeDates = 0x0004,
  dtsoTfRecognizeDatesPresumeDMY = 0x0008,
  dtsoTfRecognizeDatesPresumeYMD = 0x0010,
  dtsoTfAutoBreakCJK = 0x0020,
  dtsoTfDisableBetaParsers = 0x400000L,
  dtsoTfEnableBetaParsers = 0x800000L
};
File

dtsearch.h

Members
Members 
Description 
dtsoTfSkipNumericValues = 0x0001 
By default, dtSearch indexes numbers both as text and as numeric values, which is necessary for numeric range searching. Use this flag to suppress indexing of numeric values in applications that do not require numeric range searching. This setting can reduce the size of the index by about 20%. 
dtsoTfSkipXFirstAndLast = 0x0002 
Suppress automatic generation of xfirstword and xlastword. By default, xfirstword is defined to be the first word in each document, and xlastword is defined to be the last word in each document. These words are generated when an index is created, so this flag must be set during indexing to suppress xlastword and xfirstword. 
dtsoTfRecognizeDates = 0x0004 
Automatically recognize dates in text as it is indexed 
dtsoTfRecognizeDatesPresumeDMY = 0x0008 
Presume DD/MM/YY format for dates (default is MM/DD/YY) 
dtsoTfRecognizeDatesPresumeYMD = 0x0010 
Presume YY/MM/DD format for dates (default is MM/DD/YY) 
dtsoTfAutoBreakCJK = 0x0020 
Automatically insert a word break around characters in the Chinese, Japanese, and Korean Unicode ranges. This makes it possible to search text in documents that do not contain word breaks. Like the hyphenation setting, this setting is kept in the alphabet for an index and so will only change when an index is created. 
dtsoTfDisableBetaParsers = 0x400000L 
Disable any internal file parsers that are currently classified as "beta" because they were recently added and have not yet been tested. This flag will have no effect on release builds of the dtSearch Engine and only provides a way to use beta builds without allowing newly-added file parsers to run. 
dtsoTfEnableBetaParsers = 0x800000L 
Re-enable internal file parsers that were disabled by dtsoTfDisableBetaParsers. 
Description

Values for Options.textflags

Group
Links
You are here: C++ API > Enumerations > TextFlags Enumeration
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.