mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Fix position in insertions
This commit is contained in:
parent
2b51a63418
commit
5b552caf42
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue