mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
feat: Log the total number of documents to rank
This commit is contained in:
parent
3418adb06a
commit
7f35b971f0
1 changed files with 3 additions and 0 deletions
|
@ -8,6 +8,7 @@ use group_by::GroupByMut;
|
|||
use hashbrown::HashMap;
|
||||
use fst::Streamer;
|
||||
use rocksdb::DB;
|
||||
use log::info;
|
||||
|
||||
use crate::automaton::{self, DfaExt, AutomatonExt};
|
||||
use crate::rank::distinct_map::{DistinctMap, BufferedDistinctMap};
|
||||
|
@ -116,6 +117,8 @@ where D: Deref<Target=DB>,
|
|||
}
|
||||
}
|
||||
|
||||
info!("{} documents to classify", matches.len());
|
||||
|
||||
matches.into_iter().map(|(i, m)| Document::from_unsorted_matches(i, m)).collect()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue