// SPDX-License-Identifier: BUSL-1.1
//! Sub-plan execution → `SurrogateBitmap` materialization.
//!
//! The executor calls `collect_surrogates` after running a bitmap-producer
//! sub-plan. The sub-plan returns `(doc_id, bytes)` pairs whose `doc_id`
//! strings are 8-char lowercase-hex-encoded surrogate u32 values (the
//! document engine's canonical row-key encoding). This function parses those
//! ids into `Surrogate` values and accumulates them into a `SurrogateBitmap`.
//!
//! Non-hex doc_ids (e.g. from KV or columnar scans) are silently skipped —
//! the bitmap will be partial, and the executor will fall back to a full scan
//! for the remaining probe rows.
use ;
/// Parse a sequence of `(doc_id, _bytes)` pairs into a `SurrogateBitmap`.
///
/// Accepts 8-char lowercase-hex doc_ids produced by the document engine's
/// `surrogate_to_doc_id` encoding. Non-conforming ids are skipped without error.
pub