Type Alias tantivy::DocId

source ·
pub type DocId = u32;
Expand description

A u32 identifying a document within a segment. Documents have their DocId assigned incrementally, as they are added in the segment.

At most, a segment can contain 2^31 documents.