Introduce the AttrCount type

This commit is contained in:
Clément Renault
2019-11-27 17:01:23 +01:00
committed by Clément Renault
parent 5b9fff6636
commit 11f3d7782d
7 changed files with 22 additions and 14 deletions

View File

@ -815,7 +815,7 @@ mod tests {
let mut words_fst = BTreeSet::new();
let mut postings_lists = HashMap::new();
let mut fields_counts = HashMap::<_, u64>::new();
let mut fields_counts = HashMap::<_, u16>::new();
for (word, indexes) in iter {
let word = word.to_lowercase().into_bytes();