Skip to main content

NO_MORE_DOCS

Constant NO_MORE_DOCS 

Source
pub const NO_MORE_DOCS: DocId;
Expand description

Sentinel value indicating no more matching documents.

Guaranteed to be greater than any valid DocId. This means the maximum valid doc_count per segment is u32::MAX - 1 (~4.29 billion) — see [[architecture-segment-layout#Document Count Fields]].