How to make blocks of text non-searchable

Article: dts0185

Applies to: dtSearch 6.1 or later

Excluding sections of web pages or XML files

To tell dtSearch not to index parts of an HTML or XML file, add comments around the text to be excluded, like this:

<!--BeginNoIndex-->

... nothing here will be searchable...

<!--EndNoIndex-->

The BeginNoIndex and EndNoIndex tags must look exactly as they do in this example. dtSearch will skip everything between the two markers when it indexes web pages.

Other file types

dtSearch does not have an option to prevent indexing blocks of text in other file formats. However, there are options to exclude document properties or summary information fields. For more information on these options, see:

How to exclude document properties from indexing