Tune the words prefixes threshold to compute for 1/1000 instead

This commit is contained in:
Kerollmops 2021-03-03 11:25:36 +01:00
parent f376c6a728
commit 07784c8990
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
3 changed files with 3 additions and 2 deletions

View file

@ -598,7 +598,7 @@ fn export_documents(index: &Index, rtxn: &heed::RoTxn, internal_ids: Vec<u32>) -
let fields_ids_map = index.fields_ids_map(rtxn)?;
let displayed_fields: Vec<_> = fields_ids_map.iter().map(|(id, _name)| id).collect();
let iter: Box<Iterator<Item = _>> = if internal_ids.is_empty() {
let iter: Box<dyn Iterator<Item = _>> = if internal_ids.is_empty() {
Box::new(index.documents.iter(rtxn)?.map(|result| {
result.map(|(_id, obkv)| obkv)
}))