DB BREAKING: raise limit of word count from 10 to 30.

This commit is contained in:
Louis Dureuil 2023-06-08 11:31:38 +02:00
parent c15c076da9
commit 9f37b61666
No known key found for this signature in database

View File

@ -82,7 +82,7 @@ fn drain_document_fid_wordcount_into_sorter(
let mut key_buffer = Vec::new();
for (fid, count) in document_fid_wordcount.drain() {
if count <= 10 {
if count <= 30 {
key_buffer.clear();
key_buffer.extend_from_slice(&fid.to_be_bytes());
key_buffer.push(count as u8);