Remove println

This commit is contained in:
asonix 2023-03-31 18:08:36 -05:00
parent 3edffdf1dd
commit 4b05676022

View file

@ -335,16 +335,10 @@ mod schema {
fn reduce(
&self,
mappings: &[bonsaidb::core::schema::ViewMappedValue<Self::View>],
rereduce: bool,
_rereduce: bool,
) -> bonsaidb::core::schema::ReduceResult<Self::View> {
let now = mappings.iter().map(|mapping| mapping.key).max();
println!(
"Reducing {} mappings, rereduce: {}",
mappings.len(),
rereduce
);
if let Some(now) = now {
Ok(mappings.iter().fold(HashMap::new(), |mut acc, mapping| {
for (document, score) in &mapping.value {