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

Set the number of words of context around each hit, and specify whether the exact number of words should be collected. If fExact is false, enough paragraphs will be collected around each hit to include at least the specified number of words.

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