From 2aeef093169f6f0444382a470b8f524bb8d31c1e Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Wed, 7 Apr 2021 14:21:47 +0200 Subject: [PATCH] Remove debug logs while iterating through the facet levels --- milli/src/search/facet/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/milli/src/search/facet/mod.rs b/milli/src/search/facet/mod.rs index e4bef2b12..0252af963 100644 --- a/milli/src/search/facet/mod.rs +++ b/milli/src/search/facet/mod.rs @@ -3,7 +3,6 @@ use std::ops::Bound::{self, Included, Excluded, Unbounded}; use either::Either::{self, Left, Right}; use heed::types::{DecodeIgnore, ByteSlice}; use heed::{Database, RoRange, RoRevRange, LazyDecode}; -use log::debug; use roaring::RoaringBitmap; use crate::heed_codec::CboRoaringBitmapCodec; @@ -223,7 +222,6 @@ impl<'t> Iterator for FacetIter<'t> { } if level == 0 { - debug!("found {:?} at {:?}", docids, left); return Some(Ok((left, docids))); } @@ -233,10 +231,6 @@ impl<'t> Iterator for FacetIter<'t> { let left = Included(left); let right = Included(right); - debug!("calling with {:?} to {:?} (level {}) to find {:?}", - left, right, level - 1, docids, - ); - let result = if is_ascending { FacetRange::new(rtxn, db, fid, level - 1, left, right).map(Left) } else {