mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-06-06 20:25:40 +00:00
almost always force incremental facet indexing
This commit is contained in:
parent
cfaac6f7ca
commit
f4f3bf1cfd
@ -149,7 +149,7 @@ impl<'i> FacetsUpdate<'i> {
|
|||||||
self.index.set_updated_at(wtxn, &OffsetDateTime::now_utc())?;
|
self.index.set_updated_at(wtxn, &OffsetDateTime::now_utc())?;
|
||||||
|
|
||||||
// See self::comparison_bench::benchmark_facet_indexing
|
// See self::comparison_bench::benchmark_facet_indexing
|
||||||
if self.data_size >= (self.database.len(wtxn)? / 500) {
|
if self.data_size >= (self.database.len(wtxn)? * 500) {
|
||||||
let field_ids =
|
let field_ids =
|
||||||
self.index.faceted_fields_ids(wtxn)?.iter().copied().collect::<Vec<_>>();
|
self.index.faceted_fields_ids(wtxn)?.iter().copied().collect::<Vec<_>>();
|
||||||
let bulk_update = FacetsUpdateBulk::new(
|
let bulk_update = FacetsUpdateBulk::new(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user