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