Close
dtSearch Engine API for Java
Options.setMaxWordsToRetrieve Method
Syntax
Java
public void setMaxWordsToRetrieve(int newMaxWordsToRetrieve);

Maximum number of words that can be matched in a search. This can be any value from 16 to 256k. The default is 64k. If a search matches more unique words than the maxWordsToRetrieve limit, the error code dtsErMaxWords will be returned.