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.

Defined in

DominoQuery

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.

Language cross-reference

MaxScanDocs Property (NotesDominoQuery - LotusScript)