mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-29 08:35:15 +08:00
feat: Log the total number of documents to rank
This commit is contained in:
parent
3418adb06a
commit
7f35b971f0
@ -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…
Reference in New Issue
Block a user