This commit is contained in:
ManyTheFish 2025-02-26 10:35:03 +01:00 committed by Kerollmops
parent abebc574f6
commit d4063c9dcd
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

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