setMaxScanDocs method (DominoQuery - Java)
Sets a new value for the DominoQuery property MaxScanDocs, the maximum allowable number of documents scanned across all query terms.
Defined in
Syntax
void setMaxScanDocs( int maxScanDocs ) throws NotesException
Parameters
int maxScanDocs
The maximum allowed documents scanned across all query terms.
Returned value
None
Usage
Sets a new value for the DominoQuery property MaxScanDocs. To return the current value, use getMaxScanDocs. MaxScanDocs is useful to limit or expand the resources consumed by a query, to either prevent runaway queries or allow long running queries when the impact of those queries would be minimal.