You are here: C++ Support Classes > dtSearch Namespace > Classes > DSearchReportJob Class > DSearchReportJob::SetMaxWordsToRead Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DSearchReportJob::SetMaxWordsToRead Method
Syntax
C++
void SetMaxWordsToRead(int n);

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

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