Update crates/milli/src/index.rs

Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
Many the fish 2025-02-26 10:28:25 +01:00 committed by GitHub
parent 57b26f8441
commit 8ccd090f40
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -453,10 +453,10 @@ impl Index {
/// Returns the stats of the documents database. /// Returns the stats of the documents database.
pub fn documents_stats(&self, rtxn: &RoTxn<'_>) -> heed::Result<Option<DatabaseStats>> { pub fn documents_stats(&self, rtxn: &RoTxn<'_>) -> heed::Result<Option<DatabaseStats>> {
dbg!(self self
.main .main
.remap_types::<Str, SerdeJson<DatabaseStats>>() .remap_types::<Str, SerdeJson<DatabaseStats>>()
.get(rtxn, main_key::DOCUMENTS_STATS)) .get(rtxn, main_key::DOCUMENTS_STATS)
} }
/* primary key */ /* primary key */