pub fn erase_blocking( index_root: &str, pick: impl Fn(&Record) -> bool + Send + Sync, apply: bool, ) -> Result<Vec<Record>, Error>