You are here: C++ API > Classes > dtsOptions2 Structure > dtsOptions2::maxWordsToRetrieve Data Member
dtsOptions2::maxWordsToRetrieve Data Member
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsOptions2::maxWordsToRetrieve Data Member
Syntax
C++
int maxWordsToRetrieve;

Maximum number of words that can be matched in a search. This can be any value from 16 to 512k (32-bit)or 4,096k (64-bit). The default is 64k. If a search matches more unique words than the maxWordsToRetrieve limit, the error code dtsErMaxWords (137) will be returned.