You are here: C++ API > Classes > dtsSearchReportJob Structure > dtsSearchReportJob::maxWordsToRead Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchReportJob::maxWordsToRead Data Member

Number of words to scan in each document looking for blocks of context to include in the report.

Syntax
C++
long maxWordsToRead;

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.

Copyright (c) 1995-2020 dtSearch Corp. All rights reserved.