dtSearch Text Retrieval Engine Programmer's Reference
dtsSearchReportJob::amountOfContext Data Member
long amountOfContext;

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.