Small fixes

This commit is contained in:
ManyTheFish
2023-11-20 10:20:39 +01:00
parent ebef6bc24d
commit 39cbb499c2
2 changed files with 4 additions and 1 deletions

View File

@ -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