mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 16:06:31 +00:00 
			
		
		
		
	Remove debug logs while iterating through the facet levels
This commit is contained in:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user