Class wrapper around the dtsOptions2 interface structure; used to change option settings
File
File: dtsfc.h
Namespace: dtSearch
Syntax
Data Members
Data Member |
Description |
---|---|
Name of dtSearch alphabet file to use when parsing text into words. The alphabet file determines which characters are letters and what the rules are for handling capitalization and punctuation. If blank, dtSearch will use a default alphabet file. The alphabet file only controls the indexing of characters in the range 32-127. Unicode character properties control the treatment of other characters. | |
Define characters considered to be text if binaryFiles is set ot dtsoFilterBinary | |
Use to replace the default connectors used in search requests. See dtsOptions.booleanConnectors | |
Name of the file containing a table of filename patterns for file formats that dtSearch cannot detect automatically, such as older versions of WordStar. The FileTypeTableFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > File Types and use the dialog box to set up the file type definitions. The XML file will be saved as filetype.xml in your dtSearch UserData folder. See File Types in the dtSearch Desktop help for information on this setting. | |
Directory where the dtSearch Engine and support files are located. | |
List of noise words to skip during indexing (default: "noise.dat") A noise word is a word such as the or if that is so common that it is not useful in searches. To save time, noise words are not indexed and are ignored in index searches. When an index is created, dtSearch copies the list of words from noise.dat into the index directory and also builds the word list into other index files. After an index is created, subsequent changes to the noise word list will not affect indexing for that index | |
A directory that the dtSearch Engine can use to store temporary files. Most applications should not set PrivateDir. | |
File segmentation rules, used to split up long text files into logical subdocuments during indexing. The SegmentationRulesFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > File Segmentation Rules and use the dialog box to set up the rules. The XML file will be saved as fileseg.xml in your dtSearch UserData folder. See File Segmentation Rules in the dtSearch Desktop help for information on this setting. | |
Stemming rules for stemming searches (default: "stemming.dat") The stemming.dat file uses a plain text format and includes comments in the file that describe the file format. | |
Directory to use for temporary files. | |
Name of the file containing rules for extraction of field data from text files based on markers in the next The TextFieldsFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > Text Fields and use the dialog box to set up the text field definitions. The XML file will be saved as fields.xml in your dtSearch UserData folder. See Define Text Fields in the dtSearch Desktop help for information on this setting. | |
User-defined synonym sets. The UserThesaurusFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > User Thesaurus and use the dialog box to set up the synonym definitions. The XML file will be saved as thesaur.xml in your dtSearch UserData folder. See User Thesaurus in the dtSearch Desktop help for information on this setting. | |
Comma-separated list of tags to ignore when indexing XML If your XML data includes HTML tags like P, B, I, etc., use XmlIgnoreTags to prevent these tags from affecting the field structure of XML. Example: options.XmlIgnoreTags = "b,p,i,u,h1,h2,h3,br,hr" |
Group
Members
Data Members
Data Member |
Description |
---|---|
Name of dtSearch alphabet file to use when parsing text into words. The alphabet file determines which characters are letters and what the rules are for handling capitalization and punctuation. If blank, dtSearch will use a default alphabet file. The alphabet file only controls the indexing of characters in the range 32-127. Unicode character properties control the treatment of other characters. | |
Define characters considered to be text if binaryFiles is set ot dtsoFilterBinary | |
Use to replace the default connectors used in search requests. See dtsOptions.booleanConnectors | |
Name of the file containing a table of filename patterns for file formats that dtSearch cannot detect automatically, such as older versions of WordStar. The FileTypeTableFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > File Types and use the dialog box to set up the file type definitions. The XML file will be saved as filetype.xml in your dtSearch UserData folder. See File Types in the dtSearch Desktop help for information on this setting. | |
Directory where the dtSearch Engine and support files are located. | |
List of noise words to skip during indexing (default: "noise.dat") A noise word is a word such as the or if that is so common that it is not useful in searches. To save time, noise words are not indexed and are ignored in index searches. When an index is created, dtSearch copies the list of words from noise.dat into the index directory and also builds the word list into other index files. After an index is created, subsequent changes to the noise word list will not affect indexing for that index | |
A directory that the dtSearch Engine can use to store temporary files. Most applications should not set PrivateDir. | |
File segmentation rules, used to split up long text files into logical subdocuments during indexing. The SegmentationRulesFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > File Segmentation Rules and use the dialog box to set up the rules. The XML file will be saved as fileseg.xml in your dtSearch UserData folder. See File Segmentation Rules in the dtSearch Desktop help for information on this setting. | |
Stemming rules for stemming searches (default: "stemming.dat") The stemming.dat file uses a plain text format and includes comments in the file that describe the file format. | |
Directory to use for temporary files. | |
Name of the file containing rules for extraction of field data from text files based on markers in the next The TextFieldsFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > Text Fields and use the dialog box to set up the text field definitions. The XML file will be saved as fields.xml in your dtSearch UserData folder. See Define Text Fields in the dtSearch Desktop help for information on this setting. | |
User-defined synonym sets. The UserThesaurusFile is an XML file. To create the file, start dtSearch Desktop, click Options > Preferences > User Thesaurus and use the dialog box to set up the synonym definitions. The XML file will be saved as thesaur.xml in your dtSearch UserData folder. See User Thesaurus in the dtSearch Desktop help for information on this setting. | |
Comma-separated list of tags to ignore when indexing XML If your XML data includes HTML tags like P, B, I, etc., use XmlIgnoreTags to prevent these tags from affecting the field structure of XML. Example: options.XmlIgnoreTags = "b,p,i,u,h1,h2,h3,br,hr" |
Remarks
For convenience, DStringProperty members are provided for each of the string values in dtsOptions2.
Class Hierarchy
dtSearch::DOptions2