Fix comments

This commit is contained in:
Clément Renault 2024-11-20 11:36:17 +01:00
parent 4cdfdddd6d
commit 56c7c5d5f0
No known key found for this signature in database
GPG Key ID: F250A4C4E3AE5F5F

View File

@ -183,7 +183,7 @@ impl FacetedDocidsExtractor {
match value {
// Number
// key: fid - level - orderedf64 - orignalf64
// key: fid - level - orderedf64 - originalf64
Value::Number(number) => {
let mut ordered = [0u8; 16];
if number
@ -221,7 +221,7 @@ impl FacetedDocidsExtractor {
buffer.extend_from_slice(truncated.as_bytes());
cache_fn(cached_sorter, &buffer, docid)
}
/// Bool is handled as a string
// Bool is handled as a string
Value::Bool(b) => {
let b = if *b { "true" } else { "false" };
let mut string = BVec::new_in(doc_alloc);