Xerp::Index::PostingsBuilder
Class methods
Builds postings from tokenize result and stores them in the database. Returns a hash of token -> token_id for later df updates.
Decodes a posting's lines_blob back to line numbers.
update_all_df(db : DB::Database) : Nil
Updates document frequency (df) for all tokens in the database. This should be called after indexing to ensure df values are accurate.
Updates df for a set of tokens (more efficient than updating all).