Skip to main content

document_count_chain_position

Function document_count_chain_position 

Source
pub fn document_count_chain_position(index: &Index) -> Option<usize>
Expand description

The position of the shallowest level of index whose value trees a count read may stop at, taking the subtree’s document count: the count chain’s ([Index::shallowest_count_chain_position]), or on a summableOffCountIndex index the sum chain’s, whose sums are its document counts. None without such a chain.

Unversioned, so every protocol version reaches it: it departs from the plain count chain only on a summableOffCountIndex index, which only meta-schema v3 (protocol version 14) admits.