mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-26 20:21:32 +01:00
Update crates/milli/src/index.rs
Co-authored-by: Tamo <tamo@meilisearch.com>
This commit is contained in:
parent
57b26f8441
commit
8ccd090f40
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user