mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-10-10 13:46:28 +00:00
More or less make sure that the facets are going to be incremental
This commit is contained in:
@@ -104,8 +104,8 @@ pub fn merge_and_send_facet_docids<'extractor>(
|
|||||||
rtxn: &RoTxn,
|
rtxn: &RoTxn,
|
||||||
docids_sender: FacetDocidsSender,
|
docids_sender: FacetDocidsSender,
|
||||||
) -> Result<FacetFieldIdsDelta> {
|
) -> Result<FacetFieldIdsDelta> {
|
||||||
let max_string_count = (index.facet_id_string_docids.len(rtxn)? / 500) as usize;
|
let max_string_count = (index.facet_id_string_docids.len(rtxn)? * 500) as usize;
|
||||||
let max_number_count = (index.facet_id_f64_docids.len(rtxn)? / 500) as usize;
|
let max_number_count = (index.facet_id_f64_docids.len(rtxn)? * 500) as usize;
|
||||||
transpose_and_freeze_caches(&mut caches)?
|
transpose_and_freeze_caches(&mut caches)?
|
||||||
.into_par_iter()
|
.into_par_iter()
|
||||||
.map(|frozen| {
|
.map(|frozen| {
|
||||||
|
Reference in New Issue
Block a user