remove println

This commit is contained in:
ad hoc 2022-04-04 21:00:07 +02:00
parent 6cabd47c32
commit b7694c34f5
No known key found for this signature in database
GPG Key ID: 4F00A782990CC643

View File

@ -69,11 +69,9 @@ pub fn extract_word_docids<R: io::Read + io::Seek>(
}
let fid = field_id_from_position(position);
if exact_attributes.contains(&fid) && !added_to_exact {
println!("is exact: {}", std::str::from_utf8(&word_bytes).unwrap());
exact_word_docids_sorter.insert(word_bytes, &value_buffer)?;
added_to_exact = true;
} else if !added_to_word_docids {
println!("isnt exact: {}", std::str::from_utf8(&word_bytes).unwrap());
word_docids_sorter.insert(word_bytes, &value_buffer)?;
added_to_word_docids = true;
}