Summary
None of the public index types — Rank, RankQuant, Bitmap, SignBitmap — nor SearchResults expose a Debug impl. The only Debug in src/ is on the internal SimdTier enum. Downstream users can't inspect an index at runtime without querying individual fields.
Ask
Add concise hand-written Debug impls (not #[derive]) that print the shape parameters only, e.g.:
RankQuant { dim: 1024, bits: 2, n_vectors: 50_000 }
Bitmap { dim: 256, n_top: 64, n_vectors: 50_000 }
Do not dump the packed buffers — a derived Debug on these would print megabytes of bytes. Params-only (dim/bits/n_top/n_vectors, maybe bytes-per-doc) keeps it useful in a pipeline log.
Acceptance
Filed from an external technical review (May 2026); verified against v0.2.0 (only SimdTier derives Debug today).
Summary
None of the public index types —
Rank,RankQuant,Bitmap,SignBitmap— norSearchResultsexpose aDebugimpl. The onlyDebuginsrc/is on the internalSimdTierenum. Downstream users can't inspect an index at runtime without querying individual fields.Ask
Add concise hand-written
Debugimpls (not#[derive]) that print the shape parameters only, e.g.:Do not dump the packed buffers — a derived
Debugon these would print megabytes of bytes. Params-only (dim/bits/n_top/n_vectors, maybe bytes-per-doc) keeps it useful in a pipeline log.Acceptance
DebugforRank,RankQuant,Bitmap,SignBitmap,SearchResults{:?}smoke test per typeFiled from an external technical review (May 2026); verified against v0.2.0 (only
SimdTierderivesDebugtoday).