mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-25 19:45:05 +08:00
Fix comments
This commit is contained in:
parent
4cdfdddd6d
commit
56c7c5d5f0
@ -183,7 +183,7 @@ impl FacetedDocidsExtractor {
|
|||||||
|
|
||||||
match value {
|
match value {
|
||||||
// Number
|
// Number
|
||||||
// key: fid - level - orderedf64 - orignalf64
|
// key: fid - level - orderedf64 - originalf64
|
||||||
Value::Number(number) => {
|
Value::Number(number) => {
|
||||||
let mut ordered = [0u8; 16];
|
let mut ordered = [0u8; 16];
|
||||||
if number
|
if number
|
||||||
@ -221,7 +221,7 @@ impl FacetedDocidsExtractor {
|
|||||||
buffer.extend_from_slice(truncated.as_bytes());
|
buffer.extend_from_slice(truncated.as_bytes());
|
||||||
cache_fn(cached_sorter, &buffer, docid)
|
cache_fn(cached_sorter, &buffer, docid)
|
||||||
}
|
}
|
||||||
/// Bool is handled as a string
|
// Bool is handled as a string
|
||||||
Value::Bool(b) => {
|
Value::Bool(b) => {
|
||||||
let b = if *b { "true" } else { "false" };
|
let b = if *b { "true" } else { "false" };
|
||||||
let mut string = BVec::new_in(doc_alloc);
|
let mut string = BVec::new_in(doc_alloc);
|
||||||
|
Loading…
Reference in New Issue
Block a user