mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-23 10:37:41 +08:00
DB BREAKING: raise limit of word count from 10 to 30.
This commit is contained in:
parent
c15c076da9
commit
9f37b61666
@ -82,7 +82,7 @@ fn drain_document_fid_wordcount_into_sorter(
|
|||||||
let mut key_buffer = Vec::new();
|
let mut key_buffer = Vec::new();
|
||||||
|
|
||||||
for (fid, count) in document_fid_wordcount.drain() {
|
for (fid, count) in document_fid_wordcount.drain() {
|
||||||
if count <= 10 {
|
if count <= 30 {
|
||||||
key_buffer.clear();
|
key_buffer.clear();
|
||||||
key_buffer.extend_from_slice(&fid.to_be_bytes());
|
key_buffer.extend_from_slice(&fid.to_be_bytes());
|
||||||
key_buffer.push(count as u8);
|
key_buffer.push(count as u8);
|
||||||
|
Loading…
Reference in New Issue
Block a user