convert the field_distribution to a BTreeMap and avoid counting twice the same documents

This commit is contained in:
Tamo
2021-06-17 17:05:34 +02:00
parent 969adaefdf
commit d08cfda796
4 changed files with 70 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
use std::collections::hash_map::Entry;
use std::collections::btree_map::Entry;
use std::collections::HashMap;
use chrono::Utc;