Move geosort code out of search

This commit is contained in:
Mubelotix
2025-06-30 13:12:00 +02:00
parent 63827bbee0
commit e35d58b531
10 changed files with 257 additions and 243 deletions

View File

@ -118,7 +118,7 @@ pub fn facet_string_values<'a>(
}
#[allow(clippy::drop_non_drop)]
fn facet_values_prefix_key(distinct: u16, id: u32) -> [u8; FID_SIZE + DOCID_SIZE] {
pub(crate) fn facet_values_prefix_key(distinct: u16, id: u32) -> [u8; FID_SIZE + DOCID_SIZE] {
concat_arrays::concat_arrays!(distinct.to_be_bytes(), id.to_be_bytes())
}