GetMaxScanEntries method (DominoQuery - Java)
Returns the current value of the DominoQuery property maxScanEntries, the maximum allowed view entries scanned across all query terms. Default value is 200,000.
Syntax
public int getMaxScanEntries() throws NotesException
Parameters
None
Returned value
int maxScanEntries
Usage
Returns the current value of the DominoQuery property MaxScanEntries, the maximum allowed view entries scanned across all query terms. To change the value, use SetMaxScanEntries. MaxScanEntries 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.