dtSearch Text Retrieval Engine .NET interface

FieldFlags Enumeration

Flags for Options.FieldFlags

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

public enum FieldFlags

Remarks

FieldFlags provide options to control the indexing of meta-data associated with documents. When highlighting hits, it is important to make sure that FieldFlags has the same options that were used when a document was indexed. Otherwise, hit highlighting may be incorrect due to differences in the words found in each document.

By default, dtSearch will index fields in documents such as the Summary Information fields in Word files and META tags in HTML files. FieldFlags can be used to suppress some or all of this metadata.

dtSearch will also add a "Filename" field to the end of each document, with the full path and filename of the document, so words in the document name will be searchable like other text. To suppress this completely, use dtsoFfSkipFilenameField. To include only the name of the document (not the path), use dtsoSkipFilenameFieldPath.

The dtsoFfHtmlShow* flags can be used to make normally hidden HTML elements, such as styles or links, visible and searchable. For each category of element that is enabled, a section will be added to the end of the HTML file listing the items in that category. For example, if dtsoFfHtmlShowComments is set, then each HTML file will have a list of the embedded comments after the body of the HTML.

Members

Member NameDescriptionValue
dtsoFfSkipFilenameFieldPath Include only the filename (not the path) in the Filename field generated at the end of each document. 16384
dtsoFfXmlSkipAttributes Do not index attributes in XML files 8192
dtsoFfShowNtfsProperties Make NTFS file properties searchable 4096
dtsoFfXmlHideFieldNames Do not index field names in XML files 2048
dtsoFfOfficeSkipHiddenContent Skip non-text streams in Office (Word, Excel, PowerPoint) documents. 1024
dtsoFfHtmlNoHeaderFields Suppress automatic generation of the HtmlTitle field for the title and the HtmlH1, HtmlH2, etc. fields for header content in HTML files. 512
dtsoFfHtmlShowMetatags Make HTML meta tags searchable and visible, appended to the body of the HTML file 128
dtsoFfHtmlShowStylesheets Make HTML style sheets searchable 64
dtsoFfHtmlShowScripts Make HTML Scripts searchable 32
dtsoFfHtmlShowComments Make HTML Comments searchable 16
dtsoFfHtmlShowImgSrc Make HTML IMG src= attribute searchable 8
dtsoFfHtmlShowLinks Make HTML links searchable 4
dtsoFfSkipDocumentProperties Do not index or search document summary fields 2
dtsoFfSkipFilenameField Do not generate a field named Filename containing the name of the file. 1

Requirements

Namespace: dtSearch.Engine

Assembly: dtSearchNetApi (in dtSearchNetApi.dll)

See Also

dtSearch.Engine Namespace