mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	Introduce the new_reducing constructor on the FacetStringIter struct
This commit is contained in:
		| @@ -293,6 +293,15 @@ pub struct FacetStringIter<'t> { | ||||
| } | ||||
|  | ||||
| impl<'t> FacetStringIter<'t> { | ||||
|     pub fn new_reducing( | ||||
|         rtxn: &'t heed::RoTxn, | ||||
|         index: &'t Index, | ||||
|         field_id: FieldId, | ||||
|         documents_ids: RoaringBitmap, | ||||
|     ) -> heed::Result<FacetStringIter<'t>> { | ||||
|         FacetStringIter::new(rtxn, index, field_id, documents_ids, true) | ||||
|     } | ||||
|  | ||||
|     pub fn new_non_reducing( | ||||
|         rtxn: &'t heed::RoTxn, | ||||
|         index: &'t Index, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user