pub fn validate_payload_indexes(
cfg: &mut VectorPrimaryConfig,
columns: &[(String, String)],
) -> Result<(), NodeDbError>Expand description
Validate that each payload_indexes field exists, is not a VECTOR/BLOB/BYTES
type, and is bitmap-eligible (text/int/bool/timestamp). Also infers the
per-field PayloadIndexKind from the column type — numeric / timestamp
→ Range (sorted BTreeMap), bool → Boolean, everything else →
Equality. Mutates cfg.payload_indexes to attach the inferred kinds.