mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-30 00:34:26 +01:00
Remove debug logs while iterating through the facet levels
This commit is contained in:
parent
51767725b2
commit
2aeef09316
@ -3,7 +3,6 @@ use std::ops::Bound::{self, Included, Excluded, Unbounded};
|
|||||||
use either::Either::{self, Left, Right};
|
use either::Either::{self, Left, Right};
|
||||||
use heed::types::{DecodeIgnore, ByteSlice};
|
use heed::types::{DecodeIgnore, ByteSlice};
|
||||||
use heed::{Database, RoRange, RoRevRange, LazyDecode};
|
use heed::{Database, RoRange, RoRevRange, LazyDecode};
|
||||||
use log::debug;
|
|
||||||
use roaring::RoaringBitmap;
|
use roaring::RoaringBitmap;
|
||||||
|
|
||||||
use crate::heed_codec::CboRoaringBitmapCodec;
|
use crate::heed_codec::CboRoaringBitmapCodec;
|
||||||
@ -223,7 +222,6 @@ impl<'t> Iterator for FacetIter<'t> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if level == 0 {
|
if level == 0 {
|
||||||
debug!("found {:?} at {:?}", docids, left);
|
|
||||||
return Some(Ok((left, docids)));
|
return Some(Ok((left, docids)));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -233,10 +231,6 @@ impl<'t> Iterator for FacetIter<'t> {
|
|||||||
let left = Included(left);
|
let left = Included(left);
|
||||||
let right = Included(right);
|
let right = Included(right);
|
||||||
|
|
||||||
debug!("calling with {:?} to {:?} (level {}) to find {:?}",
|
|
||||||
left, right, level - 1, docids,
|
|
||||||
);
|
|
||||||
|
|
||||||
let result = if is_ascending {
|
let result = if is_ascending {
|
||||||
FacetRange::new(rtxn, db, fid, level - 1, left, right).map(Left)
|
FacetRange::new(rtxn, db, fid, level - 1, left, right).map(Left)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user