mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-10-30 01:38:49 +01:00
Fix position in insertions
This commit is contained in:
parent
2b51a63418
commit
5b552caf42
@ -125,6 +125,7 @@ impl WordDocidsCachedSorters {
|
||||
buffer.extend_from_slice(&field_id.to_be_bytes());
|
||||
self.word_fid_docids.insert_add_u32(buffer, docid)?;
|
||||
|
||||
let position = bucketed_position(position);
|
||||
buffer.clear();
|
||||
buffer.extend_from_slice(word.as_bytes());
|
||||
buffer.push(0);
|
||||
|
Loading…
Reference in New Issue
Block a user