diff --git a/src/rank/query_builder.rs b/src/rank/query_builder.rs index 3ec49d83d..eb8f21582 100644 --- a/src/rank/query_builder.rs +++ b/src/rank/query_builder.rs @@ -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, } } + info!("{} documents to classify", matches.len()); + matches.into_iter().map(|(i, m)| Document::from_unsorted_matches(i, m)).collect() } }