Skip to main content

FIND_MATCH_CAP

Constant FIND_MATCH_CAP 

Source
pub const FIND_MATCH_CAP: usize = 10_000;
Expand description

The scan stops after this many matches and records capped — cheap insurance against a pathological query. A capped set is a prefix of the document: everything up to FindState’s coverage frontier is exact, nothing beyond it is represented.