mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-11-04 01:46:28 +00:00 
			
		
		
		
	Update crates/milli/src/index.rs
Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
		
				
					committed by
					
						
						Kerollmops
					
				
			
			
				
	
			
			
			
						parent
						
							d25953f322
						
					
				
				
					commit
					f32ab67819
				
			@@ -453,10 +453,10 @@ impl Index {
 | 
			
		||||
 | 
			
		||||
    /// Returns the stats of the documents database.
 | 
			
		||||
    pub fn documents_stats(&self, rtxn: &RoTxn<'_>) -> heed::Result<Option<DatabaseStats>> {
 | 
			
		||||
        dbg!(self
 | 
			
		||||
        self
 | 
			
		||||
            .main
 | 
			
		||||
            .remap_types::<Str, SerdeJson<DatabaseStats>>()
 | 
			
		||||
            .get(rtxn, main_key::DOCUMENTS_STATS))
 | 
			
		||||
            .get(rtxn, main_key::DOCUMENTS_STATS)
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /* primary key */
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user