GetMaxScanDocs method (DominoQuery - Java)
Returns the current value of the DominoQuery property MaxScanDocs, the maximum allowable number of documents scanned across all query terms. Default is 500,000.
Syntax
public int getMaxScanDocs() throws NotesException
Parameters
None
Returned value
int maxScanDocs
Usage
To change the value, use SetMaxScanDocs. 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.