mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 21:04:27 +01:00
Small fixes
This commit is contained in:
parent
ebef6bc24d
commit
39cbb499c2
@ -53,8 +53,10 @@ pub fn into_del_add_obkv<K: obkv::Key + PartialOrd>(
|
||||
value_writer.insert(DelAdd::Addition, value)?;
|
||||
}
|
||||
value_writer.finish()?;
|
||||
if !value_buffer.is_empty() {
|
||||
writer.insert(key, &value_buffer)?;
|
||||
}
|
||||
}
|
||||
|
||||
writer.finish()
|
||||
}
|
||||
|
@ -121,6 +121,7 @@ fn words_position_into_sorter(
|
||||
key
|
||||
}
|
||||
Both(key, _) => {
|
||||
// both values needs to be kept because it will be used in other extractors.
|
||||
value_writer.insert(DelAdd::Deletion, document_id.to_ne_bytes()).unwrap();
|
||||
value_writer.insert(DelAdd::Addition, document_id.to_ne_bytes()).unwrap();
|
||||
key
|
||||
|
Loading…
Reference in New Issue
Block a user