Number of words or paragraphs of context to include surrounding each hit. If dtsReportByWordExact is used, exactly the requested number of words of context will be included. Otherwise, enough paragraphs of context will be included to provide at least the requested number of words. Contiguous or overlapping blocks of context will be merged into a single block.
Number of words to scan in each document looking for blocks of context to include in the report. For example, if maxWordsToRead=5000, then the search report will only include hits that occur in the first 5000 words in each document. This setting can be used to generate faster (but not necessarily complete) reports by limiting the search report to hits near the beginning of each document.
Number of words or paragraphs of context to include surrounding each hit. If dtsReportByWordExact is used, exactly the requested number of words of context will be included. Otherwise, enough paragraphs of context will be included to provide at least the requested number of words. Contiguous or overlapping blocks of context will be merged into a single block.
Number of words to scan in each document looking for blocks of context to include in the report. For example, if maxWordsToRead=5000, then the search report will only include hits that occur in the first 5000 words in each document. This setting can be used to generate faster (but not necessarily complete) reports by limiting the search report to hits near the beginning of each document.
To generate a search report, call the makeReport() member of a dtsSearchResults object.
Format
A search report lists the hits found in one or more documents, with each hit surrounded by a specified amount of context. Each block of context starts with a contextHeader and ends with the contextFooter. Contiguous or overlapping blocks of context will be combined. The amount of context included in the report can be specified by words or by paragraphs.
Each block of context is constructed as follows:
[ContextHeader]
...text... [BeforeHit] hit [AfterHit] ...text...
[ContextFooter]
The report as a whole is constructed as follows:
[Header]
[FileHeader]
[ContextHeader]
...text... [BeforeHit] hit [AfterHit] ...text...
[ContextFooter]
[ContextHeader]
...text... [BeforeHit] hit [AfterHit] ...text...
[ContextFooter]
... more blocks of context, if present
[FileFooter]
... more files ...
[Footer]
Use the following symbols to insert file information into the FileHeader and FileFooter:
Symbol
Meaning
Filename
The name of the file (without path information). For PDF and HTML files, this will be the Title.